Amazon will buy a new type of HVAC system for its commercial buildings to slash energy use.