In this, I think we more-or-less agree; I just don't see that as a fault with AI, nor as a reason not to continue to develop/adopt AI.
And maybe your point is what Doctorow was trying to make all along, but he pushed too far in the other direction? Even now, Code Generation is a useful tool, as long as it's used as only a tool by someone who knows what they're doing.