AI is not really learning from it. It's gathering and distributing real folks hard work and maybe making a few slight changes in the language used to describe it so it's more akin to stealing or plagiarizing other's work.
You cannot “steal” information. Me attaining that knowledge does not deprive others of it. You could make an argument for copyright infringement, but honestly, who cares? Me asking an AI does not deprive others of say a book sale, because inherently I am unlikely to be interested in a book on that topic if I just want the magic black box to give me a possibly hallucinated answer instead.