Those are all individual relationships that creators have with advertisers and likely would not go away no matter how much of a cesspool the social media platform is. You see, most platforms don't actually intermediate these kinds of advertising deals and thus don't see a cent from them.
Some platforms - notably YouTube - have a platform-run ad exchange that creators can participate in and make money from. This is critical for people getting into the online video business. Like, to the point where people are expecting creators to jump ship from TikTok to YouTube the moment that Google figures out how to sell and attribute ads on Shorts.
In a world where platforms are legally barred from providing advertisers with brand safe placements, advertisers will just jump ship from platforms and start working with individual brands directly. Which means that the platforms are now just providing free hosting they can't pay for and smaller creators aren't able to use ad networks to get paid for their work.