That's the thing, how do you determine whether or not the "AI solution functions enough" without having a human review it?
The economics aren't there because LLM outputs aren't trustworthy, and the kind of expertise you'd need to validate them is functionally equivalent to that which could be employed to write the code in the first place.
"Generative AI" is an inefficient solution to a problem that's already been solved by the existence of coding support forums like StackOverflow. Sure, it can be neat to ask it for example code or a bedtime story, but once the novelty wears off all you're left with is an expensive plagirism machine that won't even notice when it confidently lies to you.