Often times an expensive machine with an expensive service contract that requires an expensive technician is often a lot more expensive than just hiring someone for minimum wage and offering zero benefits. It's why McDonalds has had technology to automate burger flipping since the invention of the integrated circuit but prefers to use cheaper part time labor instead to this day, and why car factories only started using more automation and reducing headcounts in factories only after labor unions began demanding better pay and benefits.