A novella written by a computer almost won a literary prize, a new publishing startup that predicts bestsellers, and JKR's rejection letters