Retail reinvests money into fcs so that the amazon moat grows bigger. Anyone wanting to challenge amazon for delivery has to spend tens/hundreds of billions and years to replicate the fc/delivery systems.
AWS doesn't grow fast enough so they have revenue
Turning a profit is a failure. The market loves the forever growth strategy.