Elon sold 19B in stock, took a loan for 6.25B, and the rest was other investors.
The 6.25B loan, assuming he still has it, is really not an issue considering his net worth. He can add more collateral or sell a bit. In fact TSLA stock is higher now than when he bought Twitter.