Walmart said it is working to remove synthetic dyes and 30 other ingredients, such as certain preservatives, artificial sweeteners, and fat substitutes, from its store-brand foods by January 2027.