Not exactly the rich, but certainly the connected. IPO sponsors (investment banks) get the shares and distribute them at the IPO price as they want. It’s not unusual for IPO’s to be over-subscribed. More buyers than there are shares. You almost always have to know somebody to get over-subscribed IPO shares at the offer price. Everyone else gets them on the open market.