FYI, the move from desktop apps to web apps to phone apps to whatever in future will not make your programming knowledge obsolete. Programming at its fundamental level is same as it was earlier - you write instructions to read, process, write data. What changes is the tools/frameworks/languages etc which you should be able to pick and learn as you move to new things.
Overtime the abstraction level of programming has changed, earlier you would write a sort function in assembly, now you just call the standard library. This was bound to happen due to the idea of software/code re-usability. AI for programming, if it kept improving, will be just another abstraction layer in the same way but that doesn't mean anybody who has no idea whatsoever about fundamentals of software engineer and programming can just use AI to create (complex enough) software.