I think in most cases large companies feel obligated to do this, to avoid discrimination lawsuits and claims that the company is not inclusive. Because usually the company executives are all white.
It would not be practical or possible to make the executive team diverse (even if they wanted to, which they don't.) But they'll put on a show for all the people under them and the public, with all their diversity teams and diversity training. Just a cost of doing business, to them.