Knitting on its own has long been automated. There are old semi-manual machines that do it floating around that can be had by hobbyists for only a few hundred dollars (IIRC).
The invention of the knitting machine so astonished people in England at the time that it was banned by the Queen after lobbying by the professional knitters guilds. That would have been Queen Elizabeth I. Before William Shakespeare wrote all that poetry and stuff.
The next time you put on a T-shirt you should think of all those children in Southeast Asia who go blind hand-knitting those tiny tiny stitches that make the fabric.