Their are knitting machines that just make beanies. I had to look up on youtube after you asked that. I would think it would be easier to knit beanies than socks.
The machines are manual… but one of them has an adapter for a drill.