.Technology giants and capitalists are shoveling cash into artificial intelligence amid questions concerning whether it will repay.