China’s tech sector has a new obsession: competing with US titans like Google and Microsoft Corp. in the breakneck global artificial intelligence race.