You give up some control of the company or enough control that shareholders own a majority stake, which is likely the case with the companies you mention. You also are subject to a boatload of new regulations and reporting requirements. Going public is a way to raise lots of money. It doesn’t really give a company any tangible benefits. Especially recently, companies that have gone public have ended up being valued at less than their last funding round.