Who will be most screwed by automation? It depends.