They're playing the (somewhat) long game. While the portion of the world that doesn't internet access right now is generally poor, adding an internet connection to that populace will drastically speed up their development. This then gives Amazon new customers.
Their options are either wait around for 3rd world governments to build the infrastructure to get them those customers, or do it themselves faster.