While streaming giants slash budgets and users flock from X, the U.K.’s biggest publishers are using AI (with a little help from Prince Harry) to get us hooked back on books