I won't try to predict the future as far as such ML models will take our jobs or not. However, I'd like to point out to most people that working on and studying fundamentals won't be a time wasted. Even if programming disappears as an employable job, people will still need to understand and learn things. You'll still need to know the math/physics/philosophy/history/literature/art/music etc. It might turn out that it's going to be more important than ever for us to be more confident and strict in our own skills and knowledge. And I'd also suggest to broaden our horizons. We should become good at a couple of different things like the polymaths of old.
IF you have to spend hours debugging ML generated code for something critical you better know exactly what you're doing. If you have to generate a Harry Potter Balenciaga meme video (the whole Balenciaga meme and all the different versions are hilarious btw) you better have some visual/art and musical sense in order to make it funny and engaging.
I think the end of the world is greatly exagarated. We actually have much bigger problems than "AI".