The development of technology and learning algorithms that can perform tasks previously thought to be quintessentially human, like the driverless car, has generated a lively debate about the possibilities and risks of such developments.