Stocks of major food retailers dropped after Amazon said Whole Foods will cut prices on many of its best-selling products in four days.