While convenient to cherry-pick MSFT as an example, there was also countless wealth lost in the dot com explosion (Webvan, eToys, Pets.com, etc)
Yes going public today is harder and that means companies generally have to have a better answer to "how will you make money (profitably)" than they once did. And that is probably a good thing.
It's also surprising that venture capitalists who have on the whole been unable to beat the S&P500 think that the layperson investing in tech companies would fare so well.