I’ve been in the industry since the 1980s. I don’t see AI as any kind of threat. We expected a lot of the waves of technology would reduce the need for programmers but I now view it like Jevon’s paradox: AI will expand IT uses not reduce the number of programmers.
My colleagues all lived through various paradigm shifts (visual programming, no-code, low-code, objects, client server, etc) the work never really changes for the vast majority of programmers doing productivity work like CRUD systems.
Reach out to former co workers for opportunities.