Elon Musk’s takeover of social media platform Twitter at a cost of $44bn in 2022 has yielded him rich political dividends.