Market capitalization is not equal to real money. Take a look at how Elon Musk bought Twitter.
Also, I highly doubt they sold those 5bn of shares in any exchange. Most likely they did it over several weeks on a dark pool. Because again 5bn is massive and it would cause a crash in any open exchange.