In my lifetime I have watched SPARC SUN Servers being thrown in the trash, spaghetti coded javascript and php run fortune 500s, the linux kernel adding containers, and everyone now being required to know how to code for CI so they can rerun tests, linters, and rebuild their app on every commit and publish it to an S3 bucket with specific IAM permissions tied to some SSO IAM provider.
At no point in any of that was anyone coddled or told that they will get to keep their job forever. Learn new skills. That's the game.
It's not even unique to tech. Doctors have to do this too.
There's so much work in the industry right now around LLM implementation that folks not looking into that are sleeping on good jobs.
Doctors have to undergo minor professional development refreshers — not replace their entire education. There is a reason we educate early in life; it's hard to retrain the old (and expensive or even approaching impossible).
Learning a new language or tech has always been such a minor hurdle. The whole point of the current wave of AI is that there is nowhere to retreat to if your means of income depends solely on intellectual work. Learn a trade or train to be a vet, sure, that'll last a while longer.