Look at fast food chains that used to employ many counter people & retail stores that employed cashiers and baggers.
Since the expansion of minimum wage laws those establishments now have kiosks and self serve.
Once the cost of the employees exceeds the technology there goes the employees.