The market cap of a company is not real money. However, owning a significant share of the shares can help rich people get real money without any real downsides. For example, Musk (any most billionaires) use their stock as collateral and take out super low interest loans against that stock. They don't pay any income tax on this loan, since it's not income. On the contrary, they can deduct the interest rate payments from their tax bill.
This money they then use to buy property and other wealth. So, they make more money with not really their money (debt) and they use all tricks in the book to minimize their tax burden - which is much lower compared to (relatively speaking) low and middle class folks who earn most of their money through income and pay high income taxes.
So, you see, even though his pay package is in Tesla stock and its value therefore "not real", he uses it to get very real cash using it. In finance this is called "leverage".