A new licensing agreement between HarperCollins and an undisclosed AI company will “allow limited use of select nonfiction ...