An author and freelance journalist has admitted to using AI to help him write a book review for the New York Times.