The chief executive says Amazon will buy thousands of electric vehicles and become carbon neutral by 2040.