I don't know Elon Musk's purpose in supporting Doge coin but I do know that he is one of the biggest owners of coin doge in the world.
It is clear that the doge price increase gives him a lot of profit, most likely one day he will sell out the doge coin and turn it into a pile of trash.