My apologies on a few things that I think got misinterpreted there. I meant to type "can" not "can't" for "you can take that information" and I think that came off worse for the typo (which I've edited above). As well, I was referring to the general "you" in regards to repeating the joke, as in "one could keep repeating it if one liked", not you specifically (which I continue to use below).
For finding the joke funny because Elon wouldn't like it, the reason Elon wouldn't like it is because he's transphobic. It's not generally considered good allyship to misgender people for laughs, even if that person is bigoted. For a trans example, people misgender Caitlin Jenner because she has a bad political alignment, and trans people are obviously against that (her gender should still be respected even if she isn't, because misgendering her normalizes misgendering as punishment for trans people others disagree with, liberal or conservative). Similarly, misgendering cis people might do less harm than misgendering trans people, but it doesn't do zero harm either for the same normalization reasons.
And, like I've been saying, I'm just here to inform. No one has to engage with this if they don't want to. If you interpret it as chilling, then I think that's a relationship with the joke and the context that you would need to work through individually. It's okay to have a joke fall flat! Or have certain groups not find it very funny. If you stop telling any jokes because you're worried about polite criticism, I don't think you really are interested in making people laugh, you know?