Musk is an egomaniac and a businessman. He isn't spending $40 billion because of pettiness or a few detractors. He sees an opportunity to monetize this platform and control/influence society.
If you think ANYONE is going to spend $40 billion just to let Trump back on and block a few people than I dont know what to say.