I have a bit of a confession to make:

I use #AI when I write #Lisp for #Emacs.

Boo, hiss, yes, I know. But hear me out - I don't actually let the AI write any code for me, I use AI (Gemini, specifically) to TEACH me Lisp. Then I write the code myself. When I make a mistake and my code doesn't work, I debug it myself. But if I get stuck, I ask the AI. So the AI is basically my customized teacher. Sometimes it's wrong and makes mistakes, but human teachers make mistakes too.

To be honest, this has been a lot of fun. I have a #Lisp project I'm working on, and sometimes I ask the AI to give me a challenge - a feature to add to my project - which is of a suitable difficulty based on what the AI knows of my abilities to write Lisp. The AI then gives me the task, explains what functions I should look into and learn to be able to accomplish it. Sometimes I end up doing that task, sometimes I end up doing something else.
@Enfors If AI was able to immediately replace human programmers it would just generate highly efficient flawless machine instructions and deploy those rather than code in a language humans are trained to read. Until then, if ever, it's use can assist programmers along the lines you describe.