https://www.cnbc.com/amp/2022/06/13/prologis-amazon-warehous...
Prologis controls roughly 1 billion square feet of warehouses and distribution centers used by companies including Amazon, Home Depot and FedEx.
Probably there are others as well that rent warehouses to Anazon.
Having a sign with the name of a business on a building does not mean that the business owns the building itself.
Many companies rent offices for example, and put their logo on the building where they are renting offices.