Amazon was "losing" more money in each year leading up to their IPO. By your logic we all should have been protected from investing in this obvious scam of a company, right? If you could go back in time and dump money into Amazon stock, would you?
Of course you would, because profitability is obviously too simplistic a measure to gate companies from going public. Also, the SEC isn't my nanny and I'm capable of reading an S1 to make my own decision. You seem to have an incredibly narrow understanding of the economics behind these companies.