Nine months after embarrassing press reports that summer temperatures in some of its facilities were so high that emergency medical technicians had to be kept at the ready, the e-commerce giant is spending $52 million to install air conditioning in its US warehouses.