Amazon said the planned spending would help reduce the "carbon intensity of electricity powering its operations" in the world's most populous nation.