1) To allow initial investors (be they the founder or venture capitol) to cash out
2) To generate capital for the next stage of the business's growth & development
*the stock is held by a small group of owners and many employees. Transfers are limited by contract and by securities laws. Because of the large number of shareholders, the company does have to file periodic reports with the SEC but the shares are not listed on an exchange and not available to the public. See http://en.wikipedia.org/wiki/Publix#Publix_stock
unfortunately most of your funding will be from VC companies, and it's unlikely they will give you money under a profit sharing arrangement b/c it does follow their IPO->cash out workflow.
The current system is flawed and self perpetuating
I understand why some do it, they've reached a point where they need funding to scale and already have many private investors. Maybe thats not even right.
When I start a company one day I dont think I will ever want to take in public. It seems like you loose too much control over where you are going. Maybe its because I am a build what our customer want type person and not a lets return value to our shareholder by delivering a cheaper product type. Maybe that doesnt make sense.