U.S. venture capital firms made more investments in 2017, but spent less money than Chinese VCs. Much of the money in both countries went to companies using various types of artificial intelligence technologies.