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).