AI code is only buggy if no-one is guiding or reviewing it
I'm not sure how long we'll need someone in the middle to actually review the code
That said, we will need less coders overall. Just like you don't need human drafters or calculators in the same way. It will cut the bottom out of the industry, and entry level will be expected operate like a senior from 10 years ago.
But NOS may be better. It might make you faster but it doesn't make you better.