The HarperCollins publishing company made a deal with an unnamed company, and now it wants authors to license their books to train AI.