Amazon is still primarily a retailer, one with historically horrific margins. The segment has notoriously bad margins in general (Costco & Walmart: typical ~2% net income margins, with very high income tax rates). Then there's Amazon, spending like crazy since its inception to fund growth.
It makes perfect sense that they wouldn't be generating much in the way of profit versus their revenue.