Artificial intelligence is attracting a tidal wave of investment money ...