Sure, basic writing is probably still important, but more nuanced things, for instance, do students really now need to learn the form of an argumentative essay? That is/was a good skill to have. But now or in the future one could say i want an argument essay for why we should build this feature. i'd just get ChatGPT to do it.
eh, learning form in argument is exactly the same thing as learning to order one's thoughts. Would you do away with a lawyer's need to parse the law, or an engineer's need to learn control structures because a computer could write a paper they wouldn't understand? We need to be teaching people to spot the flaws in AI arguments and to spot when other people have used AI to write those arguments. There's no way to do that unless the students are competent in writing excellent arguments themselves.
One could make the question more explicit: If machines can think, is there a need for students to learn how to think? If not, is there a need to teach anything at all?
Just my personal view: The presence of reasoning machines makes it all the more urgent for our species to learn reasoning skills. The passing on of knowledge has perhaps been our key evolutionary advantage. Without the ability to write (and to structure thoughts), future humans would be defenseless against whoever or whatever could do so.