Of course, but a small portion of the employees, disproportionately concentrated at startups, are willing to take a bet on an eventual exit. They accept a 90+% chance of a company going belly up and a 7-digit payday if it becomes a roaring success.
But without an IPO it becomes a chance for a small royalty payment, and this is a lot less attractive success.