If you're a publicly traded company you have a duty to make as much money for your shareholders as possible. Hiring based on metrics like skin color or sexual orientation doesn't do that and arguably does the opposite.
Why the people running these companies haven't been sued by shareholders I can only imagine is because of the fear of appearing racist. I wonder if those of us owning mutual funds that have shares in these companies would have standing.
This is incremental socialism. Imagine this and much more if they take the WH.