No.
Oh, I need to say more than that? Okay.
Writing can't die, because people will always want to express themselves, choosing their own words and putting them into their own "right order." While some will accept AI's version of writing, real readers will look beyond auto-generated wordage and seek out authors with something to say that matters to them.
Who will that be? People like me. There are a lot of us out there.
Why are we better than a machine at what we do? Let me list some reasons.
*Real authors write characters you care about. Years ago, I wrote a 3-book series about a homeless woman who became involved in crime-solving. People still mention Loser to me as one of their favorite characters ever. Yeah, she smells bad and she only speaks 30 words a day, but she sticks in your mind. (Book 1: Killing Silence)
*We write stories that lead you along and in the end offer a satisfying (not always happy) ending. I spoke to a book club a while back, and a woman said, "Before your book, I don't think I ever read one where every major character is dead at the end." Hmm. I couldn't think of another one either, but it worked for that story...in fact, it was almost required.
*We interpret the events of today and weave them into our stories. When I wrote Sister Saint, Sister Sinner, I wasn't intending to be political. It's a story of sisters who love but will never understand each other. Then a character in the story who was never elected to office got control of the US presidency through trickery and chutzpah. This person started changing things around to make the country go the way they wanted it to, and no one seemed able to stop it. ... That could never happen, in real life, right?
*We interact with readers. A few days ago I met with some aspiring writers, and one of them asked if I ever changed my writing because of the opinions of readers. When readers give me feedback, I always consider it. Maybe I can't change the present book, but I can apply what I learn in future works. Bigger print is something I've gone with due to a reader's suggestion. I learned to do audio books because of a reader's request. I had a reader who was unsatisfied because a character in the Simon & Elizabeth mysteries was never--in her mind--settled properly. "What happened to her?" she asked. I put the character into a later book in the series, presenting her as a happy wife and mother, which I hope did the trick.
*And finally, writing by human beings won't die because we love what we do. No computer is ever going to feel the way I feel when I'm writing, when I publish, when I hear a fan say, "I just finished your latest book."