I find it very likely that copyright law will be changed if training on copyrighted material becomes universally allowed under fair use. The alternative is that training on software code is allowed, but training on images/videos/music is not, which I do not find likely.
> Second, the only aspects of code that needs to follow the license are the parts of the code that are covered by copyright
The legal system don't generally work that ways. The questions judges tend to look at is if the accused party can be reasonable said to have copied someone else work without permission. We can look at either napster or the pirate bay court cases and see how low priority judges tend to view arguments that rely exclusively on a technical detail (A torrent file is not the same as a movie!).