They are "forced" to do this because that's what they have to do to abide by copyright law. They can't create a digital duplicate without destroying the original.
Since when do AI companies care about copyright law? They're destroying them so their competitors can't use them.
If that's true, then why did they pirate so many books?