https://thefederalist.com/2018/12/07/thomas-sowell-explains-...
It still has to do with economic circumstance, but here, according to Sowell it's about the cost of employing empirical discrimination (judging each specific case through complete knowledge of the individual) instead of a proxy for empirical discrimination (like likelihoods based on a non-arbitrary characteristic such as income or neighborhood).
The solutions that follow from that conclusion are to find ways to make empiricism less costly, or to change the stereotype (such as people from a poor neighborhood are likely to be a bad risk for a loan).
Systemic racism tends to apply so much economic drag to the system that any form of capitalism won't allow it to stand. Apartheid in South Africa was systemic racism, and businesses were violating those laws long before they were abolished just out of profit-motive. It became obvious and common-sense for the system to be ended. Thomas Sowell, in that same work, points out that Type II discrimination (discrimination based on arbitrary characteristics like race, ethnicity, belief... etc.) always ends up being economically unfeasible.