And all of this was also contingent on him dramatically increasing the value of the company. If he failed to do that, he would have gotten $0. It'd be akin to in this scenario where somebody's friend was working on a $10 million saving if her entire team received a salary of $0, and contingent upon the completion of the project, they'd each have received a fraction of the savings generated by it. If they failed, or it somehow did not achieve the desired savings, they'd receive $0.
And furthermore payment would also be in stock meaning that their compensation would be subject to the success of the company, and also would be worth less in "reality" than it was on paper since selling would reduce the price of said stock - probably negligibly for a relatively small amount, but it's still a nuance that's important. If Musk tried to convert his trillion (or whatever) to cash, it'd end up being worth much less than its nominal value.