Walmart, the largest private employer in the United States, will curb some diversity, equity and inclusion (DEI) efforts.