It wouldn’t be hard to enact laws regulating how algorithms are allowed to use views, reactions and downvotes. Metrics like “Controversial” and Reddit’s “Hot” (that sums upvotes and downvotes like they’re all the same) would be forbidden and governments could demand deactivation of metrics, algorithms or even the entire platform.
Of course such “anti-ragebait” regulations wouldn’t fix the issue but I believe it would significantly mitigate the overall state of nowadays internet.
It seems some wave throw the ninja from the surfboard, causing him to smash the head against a rock.