Tesla is a public company. If the board doesn't think Elon Musk is worth that amount of money, they don't have to pay it to him, and have the incentive not to -- the shareholders would get to keep the money instead. But maybe he is worth that amount of money; he's a one-man marketing machine and owns a major social media company that can influence the public perception of the company. That could very well be worth that amount of money to the company over a period of years -- and it isn't a single year's compensation.
So then we're back to it being a competitive market. If the company gets e.g. $60B in value from having Elon Musk, and he knows this and demands $56B, the company can either pay the market price or have a net loss of $4B relative to the alternative. And then have even less money to pay employees.
Or maybe he isn't worth that much and if the shareholders give it to him then it's costing the company money. But then that's maladaptive and the company will lose business to some other company that pays its executives less and uses the money to lower the price of their cars and gain a competitive advantage while still paying the market rate for other types of labor.
Either way it doesn't change the market price for those other types of labor, which are much easier to estimate than the value of certain unusual executives.