I highly recommend this article that explains some of Amazon's strategies related to your question: https://techcrunch.com/2017/05/14/why-amazon-is-eating-the-w...
Basically, the services they offer (AWS, handling of storage and shipment of goods for third-party retailers) are using the systems and workflows they build for themselves. If it is something others use, then it is the best system that can be built and is most profitable.