Amazon said it plans to invest more than NZ$7.5 billion ($4.4 billion) in data centers in New Zealand.