That is a good question for which I don't have a good answer. A good first step would be to stop celebrating the aftermath of these actions. As to the racists part, I haven't personally seen the explosion of racism linked to free speech that keeps ketting implied. I suspect that some of this is hyperbole. This line of thought implies that ultimately anyone who seeks out a free speech platform is a racist or supports racism. I think this is dangerous.
I feel that solution is to build, use, and promote platforms that encourage dialog without censorship. A free exchange of ideas is still the right solution. This includes discouraging the practice of silence-by-mob. All these tactics accomplish is polarization and tribalism and don't do much to contain disinformation.
The hypocrisy is that the company chooses to fight the 'free speech' fight by evading the censorship of governments when it benefits them and censors those it disagrees with otherwise.
A good example of the hypocracy of facebook is, while they censor content for the good of all, they run an onion site-- facebookcorewwwi.onion to evade censorship by others.
I am actively developing tools for the purpose of evading censorship. I find it disturbing that people have stopped supporting free speech when they stopped liking its content. Disturbing because either these people have caved to yet another mob thought or never believed in the concept at all. I don't agree with most of the content I see on my platforms. The content doesn't change me, however-- and I refuse the premise that we tech workers know best and therefore must protect the fragile little minds of everyone else.