He doesn't care about going to Mars. He cares about being known as the guy who went to mars
He doesn't care about transitioning the world away from fossil fuels. He cares about being known as the guy who transitioned the world away from fossil fuels
It just so happens that "being known as the guy who did something" generally correlates to the "thing actually being done". But for him that's just a nice side effect.
If you told him the world could have all of his goals with the caveat being nobody would know it was him who did it. I don't think he'd ever agree to that.
Again, just my opinion, but based on his public actions and antics this is what I currently believe about him.