That's not quite accurate.
Dig deeper in the headlines you find quite a couple of caveats.
Coding is quite well solved for the most part with AI but working secure reliable software is not (yet). At least not without guidance. It's a sophisticated tool. A very good one.
Doesn't replace taste and ...