Capitalists only care about capital. Witness how fast the DEI stuff was jettisoned once it was determined to be unprofitable under the current administration.
Of course one of the ways the government can enact policy is by making something cheap or expensive for firms participating in capitalism to do, which incentivizes their behavior; but characterizing DEI programs as something that corporations jettisoned because it was determined to be "unprofitable under the current administration" ignores the fact that the current administration explicitly promised to end DEI programs in a political campaign in a democracy and then won an election.