Artificial intelligence is already changing workplaces, public services and online life. The question now is how far it should go, and how quickly safeguards can keep up.