Your proposal is just so substantively different from Copilot that I don’t see how the arguments for Copilot would apply.
But I think you'd violate Disney's copyright by uploading their pictures to the website.
To make it work, Disney would have to upload the pictures themselves and agree to the TOS.
YouTube will still make money from it for some time (selling ads, luring customers in, ...), then the copyright holder asks YouTube to take it down, and then they take it down.
The difference is that open source authors don't care that much about that. But maybe now they will when they see what GitHub is doing...
YouTube isn't publishing derivative work from the videos it hosts, though, like Microsoft is doing with Copilot and GitHub.
If Copilot was trained on material it doesn't have the license to, it can potentially output that unlicensed code it was trained on, like in this example[1].
Copilot could serve up copyrighted work in the same way YouTube does, but the analogy isn't complete, because YouTube itself isn't a derivative work in the same way the Copilot's model is a derivative of the data it was trained on.
[1] https://twitter.com/mitsuhiko/status/1410886329924194309