Will factory automation end the middle class?