That's of course incorrect. Amazon doesn't lose money on every sale. Their business is profitable and generates a lot of cash. Their retail business is also profitable. They lose money in retail only on new segments and similar, not on the older existing segments. That has been well known about them for years now.
For fiscal 2015 they were positive on net income: $596 million.
Q1 2016: $513 million in net income
They'll be generating $3 billion in annual net income in just another year. Sounds like a business to me, even if half of that net income comes from AWS.