Apple helped China become America's biggest tech rival