They know it has. Think of this like when a porn studio uploads their own films to a torrent site, and then goes after people who download them.
Except, in this case, everyone involved are terrible human beings. So… while I will never cheer for Sony Music, I will happily root against all the AI/tech companies they go after for scraping their catalogues.