A race is on to build more powerful AI, but there could be dangers ahead.