Net profit margins for retail are only around 3% across the industry.
Amazon isn't actually doing anything unusual in that regard. Retail is just a very low profit margin business whether it's physical or online.
These numbers are always confusing to those of us in the tech world where SaaS net profit margins are always very high.