I disagree. Social media has played a huge part in the radicalization of various groups and allowed anti-democratic views to spread. The companies mentioned here have an outsized part in that because they prioritize engagement at all costs, which pushes people down rabbit holes of increasingly extreme views.
No, the companies mentioned here are often targets of the abuse you're giving because they're very effective community builders.
Your real problem is with the people using those platforms, but I guess it's harder to complain about democracy being ruined if it's literally the people participating in it who are ruining it.