To be honest, I have personally funded almost all of the most harmful companies that are around today, too.
But that's because I funded pretty much all the companies via my investment in an index fund.
YC pretty much takes something like an index fund approach to startups: they finance a lot of them. So naturally they would also have a significant portion of what you deem to be harmful ones.
What part of buying index funds of public shares in a company (aside from direct investment, IPO or private placement which are not hallmarks of index funds) funds the company?