But only made 90 Billion in "service sales" (AWS and subscription services). Note that Amazon Prime counts as service sales, so plenty of "product revenue" falls under the service boat in practice.
https://ir.aboutamazon.com/node/32656/html#sB4CED683083F59A8...
Amazon's storefront makes more than 50% of all of their services combined in profit, and is ~1000%+ more revenue. Yeah, it costs a lot to run the Amazon warehouses, but Amazon is still primarily a warehouse / storefront company by all measurements on their income sheets.
For 2018 actual operating income was $3.1bln for AWS and $1.078bln for global retail. (page 66).
Top line metrics are popular in tech circles because so many "unicorns" don't actually make any profit. But it will lead you astray if your goal is to actually make money.
[1] https://ir.aboutamazon.com/static-files/0f9e36b1-7e1e-4b52-b...
They just so happen to have a boring low margin retail business attached to it for legacy reasons.