AI is pretty much always fed data scattered on the internet without permission. ChatGPT does the exact same, people just don't see it as much of a problem intuitively because it uses text-based data instead of images.