There's nothing about "license intact" in those clauses. GitHub is able to do whatever it wants with the data; any users of the service do have to check on licenses, as they should with any source (including copying from Stack Overflow)
Cameras and paint brushes can easily make non-infringing works. Users of them can easily be trained how to avoid taking others work.
Copilot on the other hand basically defaults to infringing behavior. Users would have to go to great lengths to be sure they aren't infringing on others work.