The opposite is also possible (and what I'm hoping for): Humans come up with the ideas, write out some boiler plate code etc. and let AI fill in the blanks.
The end result would be 100% my work as the ML algorithm/brains/whatever would be generating new copy based on my existing copy and my vision and direction for the novel. And I get the final say on the results. Win-Win!