Well no one would buy in at IPO time if they thought it was some kind of pump and dump scheme (of course this does happen, but is hopefully rare). An IPO is generally designed to raise cash that will be invested back into the business, and as a side effect give the investors a return.
if companies could cash out and remain private, 100% of companies would choose that option.