The tech giant is leveraging its dominant position in the internet search market to gain an edge in the fast-growing Chinese AI sector.