If someone was dumb enough to say exactly that, they should be sued for outright stupidity and perhaps for discrimination. I suspect that in practice, "those companies have not been the right fit for our investment philosophy" is as close as you'd get, and that's hardly actionable, even if you strongly suspect that their thesis is as offensive as "we invest in white people".