Maybe Elon Musk doesn't know what he's really doing. He once liked an anti-Semitic tweet. Then he went to Israel to prove that he's not an anti-Semite.
What matters to Musk is increasing interest in his products, becoming more known, and earning more. I don't think some values are important to him. He may be worried that if he bans radical groups in X, interaction will decrease.