You could have bought shares via someplace like Equity Zen if you had enough capital (like a couple million, I believe). Wealthy people do it all the time.
The wealthy are not “the public”. At best, they are a subset. And a small one at that. So, you are actually saying “the privileged gets shares, and the public gets the shaft”.
Many FAANG junior engineers salaries qualify them as accredited investors. Definitely a small subset of the general population, but not particularly rare around here.