Robots don't have imagination and creativity like humans, so I think the writer is one of the jobs that is hard to replace by robots (technology)
On the contrary, AI is capable of writing not only books, but whole film scripts too.Technology is advancing at incredible speed, old jobs disappear and new ones appear every day.