basically racism and sexism and homophobia and transphobia is leaving money on the table and capitalism hates that.
If it’s more profitable to appear racially pure and thus get the racists’ business (white-only swimming pools) then capitalism will support it.