COMMANDING the plot lines of Hollywood films, covers of magazines and reams of newsprint, the contest between artificial intelligence (AI) and mankind draws much attention. Doomsayers warn that AI could eradicate jobs, break laws and start wars. But such predictions concern the distant future. The competition today is not between humans and machines but among the world’s technology giants, which are investing feverishly to get a lead over each other in AI. An exponential increase in the availability of digital data, the force of computing power and the brilliance of algorithms has fuelled excitement about this formerly obscure corner of computer science.