As shoppers have turned to cheaper alternatives to beat inflation, retailers from CVS to Target and Walmart have invested ...