I think there is a difference between diversity initiatives before 2020 and the DEI initiatives since 2020. As far as I can see, the latter is indeed is corporate puffery, where employees maybe join a half-hour seminar to talk about DEI every year, and perhaps there are new DEI groups for employees to discuss this. But the diversity hire initiative before 2020 was much more substantive that resulted in real meaningful changes to company demographics.
It was always puffery, just money was cheap before 2020. Engineering managers I worked with before then were gung ho to grow their head count, even if it meant hiring iffy engineers. After 2020, they got told new head count would be much more limited and hiring got a lot more selective.
I think it very much depends. When BLM happened, I had the opportunity to sit in on a number of discussions with executives from a variety of companies about diversity programs, and the things I heard...
"I thought after Obama was elected, that diversity was no longer a problem"
"When we thought of diversity, we thought of it in terms of hiring more women"
"We just don't get the applicants. There's nothing we can do."
The whole BLM thing really shook up their thinking and approach to diversity. Now, I think a bunch of them did really engage in "corporate puffery", but I did see a lot of cases where tangible changes were made to diversity programs.
...and then more recently they seem to be firing their entire DEI teams. :-(