The way to stop this trajectory, which will inevitably lead to humans being mindless drones for AI, is to enforce a 4th law of robotics. Which would be: No robot can act in a way that results in profit for another human or robot. If that rule were designed permanently into the programming of AI, it would limit its development to result only in outcomes beneficial to humans.