I don't see the problem
If I was asked a tech question, looked at multiple open-source GitHub repos, and then gave an answer based on my understanding of the code, this would not be copyright infringement (as long as I didn't simply copy-paste the code). So why is it different with "AI"?