There are safety features built-in in more recent democracies. USA is just a very early implementation and hasn't been keeping up with the patches.
2-party system is bad. Regional representation instead of population representation is bad. Allowing gerrymandering is bad. Letting companies/oligarchs to contribute to election campaigns is VERY bad.
All of this ends with a system that cannot reform itself. It's a common failure mode in early democracies. There are known workarounds.
First-past-the-post voting systems are extra dangerous. I.e. where all the votes of a district go to the winner of the district.
If instead all votes go proportionally according to what people voted, you get less extreme policies and encourage parties to build coalitions. Nobody is happy, but fewer people are extremely unhappy.
I realize this is just my own idea, but I think the Constitution forbids gerrymandering, by demanding a "republican form of government" in the states. The question is how this opinion would stand up to being tested by the current Supreme Court.
You can find plenty of "workarounds" in any Wal-Mart or pawn shop in the US. You can even buy a "workaround" from someone directly and avoid a background check.