They did, many years ago with the PayPal merge. Musk wanted x.com, all the research said people saw it negatively, and Musk still pushed for it, until eventually he was ousted as CEO.
What's also weird is that Twitter does in fact contain a lot of porn. When Tumblr banned porn, Twitter was one of the top choices that people were recommending.
Also remember that Musk didn't start any of these companies. He merely invested enough to become the face of the company. He's only really ever started X.com, but that code was thrown out when he merged with Peter Thiel's company.
Having followed SpaceX for a very long time, I think that Elon kinda figured early on how to get engineers excited for a lofty goal and give them sufficient room to fail and innovate, whilst squeezing every drop of work out of them.
So he was a good hype man for things he broadly understood and he was willing to put loads of money into making it successful.
But following a long tradition of people who are actually excellent in a narrow field, he convinced himself that he can translate this into imposing weird and frankly really stupid philosophy onto the world. The Bloombergs and the Carsons of the world have already failed at this, happily it looks like he will too. Not that he'll learn anything from it, just hope he goes away and stops trying.
I don't think the point is that it's his fault they have crazy laws. I think it's his fault that he didn't anticipate this would be a problem. I'm sure he did ZERO due diligence. I guarantee this came as a surprise to him.
You are extremely charitable my friend but Indonesia is not going to stop being Indonesia for Elon, so yes this is Musk's strategic error. You don't abrubtly change your entire multibillion dollar brand without doing some due diligence on the implications it will have. Or maybe he truly is deranged enough to believe he doesn't need customers in 4th most populous country to run a successful social media site.