Would make me hesitant to hire that person knowing they have such bad judgement as to publicly badmouth the CEO of their company on Twitter. Even hiring managers who personally hate Elon have to understand that this developer could easily turn the same energy on their own company at some point in the future and make them look terrible.
Definitely a career limiting move, if not potentially career ending.
Unless you're in a financial FU position, and this is your grand FU moment on your way out the door, it seems like a bad move.