From what I understand AI can not write code.
It is only able to take existing pieces of code and stitch them together hap hazardly.
So it's like as good as an intern who can copy and paste stuff, a lot faster sure, but very low quality and lots of mistakes