I’m in your same demographic. However I see these technologies as career extenders, not career threats. I can learn things faster than ever and adapt to changes more easily.
even if programming is gone in 20-30 years, you have plenty of time (and energy) to make your daily move to "what is needed".
I can't imagine a situation like this. Who is doing all the actual programming work ? Who is receiving the products of the work ? Who is competing with the previous two groups ?
Writing code might be no longer needed at some point but programmers don't spend majority of their time writing code.