Wow thank you everyone for the comments, general consensus is AI is still not getting close to 100% solutions or when solving very complex task.
Yes part of the answer may be that there is just so much code out there now, so a search finds an existing answer.