Generally speaking, most people find the idea of workers being replaced by robots or software worse than if the jobs are taken over by other workers. But when their own jobs are at stake, people would rather prefer to be replaced by robots than by another employee, according to a new study.