If you're implying that race has something to do with career choice that's a much hotter potato that I'm going to deal with. It can't be ruled out because it's so polictically incorrect that nobody will research it.
Race and gender equality have a serious problem in that it's so dangerous to have the "wrong" viewpoint that any real research into the causes and possible solutions is never going to happening.
Something is stopping certain groups of people from persuing a career in CS and blaming tech companies for inequality is like blaming the sky for being blue.
We need to.research these things, even if we can't stop it we should know why. Knowing the reason alone would help tremendously whether it solves equality or not