We already have court precedent in the US from the Anthropic case:
Training on copyright is sufficiently transformative to not be a violation.
Pirating content to train on is still a violation.
So they can train on whatever they want as long as they either paid for it or it's freely available.