From a programmers perspective, I just don't see how AI will make us run out of work. You can always just step up one layer of abstraction and have a whole new field of work available to you.
If AI works out, there's all kinds of things future programmers won't generally have to do (and all kinds of new programming paradigms that will be created), even as some of the types of programming we do now still be relevant in some cases (tuning the model like tuning the JVM?). If AI doesn't work out quite like that -- unable to truly lever up up the abstraction ladder -- well auto-suggest github copilot stuff will give us nicer, more powerful IDEs even if they don't end up allowing new programming paradigms.