If all code is written by AI or by "vibe coders" then what happens when companies are selling products they don't themselves understand? - sounds like a recipe for disaster to me.
I think it's pretty obvious that generative AI isn't replacing the need for engineering - ever.
This happens regardless as people leaving companies and whatever they produced. You will find so many examples of code out there in production and works through hopes and dreams.
And you know what? If it works it works - regardless how it was produced.