They said the same thing about the loom. "I'm an artist, no machine can replace me!" Now it's all done by machine, and none of us worry about it. We're in the early stages of the same process with AI; history rhyme.
Useful tools, but I think the idea that they'll replace programmers is (wishful? eek) thinking.
Mass produced clothing exists in many industrialized countries - typically the premium stuff; the sweatshop stuff is quite cheaper, and customers are happy paying less; its not capitalism, its consumer greed. But nice story.