Amazon, which purchased Whole Foods in 2017 for $13.7 billion, has tried to fend off organizing efforts by delivery drivers and warehouse workers.