You're acting like this was his standard salary. It wasn't.
His contact, approved by shareholders at the time, basically offered him a King's ransom for an impossible miracle, defined with metrics like sales and stock price.
Elon delivered the miracle. Love him or hate him, the conditions were met.