Elon may have played both sides at one time. In 2024 he chose one side and played it in a very big way.
I doubt his token donations to democrats could come anywhere close to what he spent on Trump. Did any democrat presidents put him in charge of anything?