Commenters may be missing that Google, Amazon, etc., as US government contractors, are required to follow the legal requirements for all such contractors. Previously contractors were required to follow rules based on a policy set by a Johnson administration EO in the 1960's. That policy has been replaced by a new EO. Online commenters might prefer to focus on recent changes as representative of corporate culture, management ideology, etc. instead of business judgment (as in the "business judgment rule" followed by the US courts), e.g., meeting the necessary legal requirements to secure/retain government contracts.
https://www.ebglaw.com/insights/publications/dei-and-affirma...