I have reviewed messy spaghetti code produced by 'experts' and I'll take the AI generated code any day based on what I've seen so far. - Yeah, seen too many new software foul-ups by folk like that.
When buying new software development I preferred the Indian industry model of only permitting use of the in-house book of sets of code/algorithms, no on-the-fly "I know a better way" permitted. Their in-house automated Testing programmes can then quickly find any errors = less bugs, faster implementation/ package interfaces and easier fixes if new bugs or changes required.