Not training the AIs to be racist in the first place would be the optimal solution, though I think the companies would go bankrupt before pruning every bit of systemic racism from the training data.
I don't believe censorship is effective though. The censorship itself is being used by racists as "proof" that the white race is under attack. It's literally being used to perpetuate racism.