Amazon, which bought Whole Foods in 2017, doesn’t want to sully the chain’s clean-living reputation, but it also doesn’t want to miss out on Americans spending on groceries.