The use of robotics in the workplace raises new legal questions on leadership, safety and discrimination