It has to first get a little more extreem. They have to not just fight but start killing. Look at Napster. Napster was attacked and eventually died. But napster also won. CD sales are dead and we all download/stream music online. Mastadon will soon be attacked directly. It will also probably die as napster: a first cassualty of a revolution. What matters are the long-term changes that survive.
Mastodon will not die in the same way Napster did; it’s decentralized and there’s no way it can be completely shut down since anyone can run an instance.
There are ways. Placing regulatory burdens or legal liabilities on anyone running a social media instance would quickly make Mastadon untenable. Something as simple as manditory age verification might be enough.
Legal strategies won’t work effectively, just as they haven’t against BitTorrent pirating and sites like the pirate bay. Likely there will always be a jurisdiction where those restrictions don’t apply.
Delivery of music over the internet killed cd sales. Napster proved that people wanted online music. That enabled everything else. It forced the industry to adapt or die.