Most stock is held by people worth less than $50m. All of those large pension funds and institutional investors invest on behalf of the "little guy" who are worth $10k-10m. That's a massive amount of wealth. If the super rich have to sell shares to afford their taxes, then these investors will buy. For example, no single individual holds more than 0.1% of Apple stock, while 15% is held by Vanguard and Blackrock alone.
Another example is McKenzie Scott selling billions in Amazon stock. There's no shortage of buyers for that.