Amazon’s retail experiment reflects a broader shift to cloud-based coordination of inventory, logistics, and decisions.