‘There is widespread concern from novelists that generative AI trained on vast amounts of fiction will undermine the value of writing,’ the study states