There are many companies that are flushing out the old; or eschewing them.
There's a mistaken impression among management that it is not possible to teach "old engineers" new technologies. This may be true, but not among the older workers I have known. I do see a lot of resistance to the recent (last 2-3 years) move to cloud-based devops automation technologies. But I just got out of a 10 year stint at a company where this was a problem. A resistance to change: It was NOT driven by the older engineers. It was driven by customers who didn't understand the new model. It was driven by customers with tight security requirements who trust isolated air-gapped networks - not cloud deployment. It was especially driven by upper management who wanted a physical asset they could own in the data center, not a cloud instance that could evaporate in seconds. "Older" engineers spent weeks and months of their own time learning new technologies - while management insisted they keep doing projects the old way.
The layoffs were brutal - but I guarantee, they did not touch upper management, and they did not change the failed ways they tried to persuade customers to migrate. (I don't know the ending of this story for them - because I left. But I am pretty certain they're going to suffer a great deal more pain).
My extended time looking for a new job shows that almost every tech company out there is in the middle of this migration, and they're looking to overturn their old workforce (at least in IT/OPS) who refuse to play along. My advice to those workers: Learn the new skills. Get out. Your old management will not change, they will fight every effort for you to migrate your skills to keep up with the younger workforce, and they will leave you aimless and spinning off in every direction unless you take charge of your own career direction. And they will make you the scapegoat.