I’m not sure the social media companies are liable for promoting the above. They’re not liable for publishing it (which is reasonable, since otherwise they would need to approve every post).
Ultimately, the law needs to figure out who is liable for actions taken by machine learning algorithms.