Google, Facebook and other tech companies race to develop artificial intelligence