No, South Africa ended apartheid when the international business community and their governments mostly decided to boycott them (after public unrest). It turned businesses that supported apartheid into pariahs.
I guess China wasn't an option?
It’s not a zero sum game — just because a company makes an unethical decision to gain a competitive advantage doesn’t mean you have to. And it doesn’t mean you can prosper by acting ethical either.
That's fine. Your conscience will be clear, and if you have a winner, you should attract other money. The biggest drawback is if your project is easy to replicate, in which case you have to ask if it should attract smart money in the first place.