Tech firms are sinking trillions of dollars into artificial intelligence to defend their lucrative businesses. Cloud ...