Agreed, but the right to compensation is derived from the right of licensing something you author.
The courts have ruled that something machine generated does not have a human author, so therefore it is not subject to copyright, in the US.
So if enough authors agreed and sued the AI companies to remove their copyrighted elements from the AI training, then that would be a reasonable solution as well.
However, any lawsuit is highly likely to result in some sort of compensation paid if decided in favor of the authors.