For two decades, Apple poured billions into China, training millions of workers and building the most advanced supply and manufacturing system in history. But those same investments transferred knowledge, skills and power, handing China the tools to challenge America’s dominance and putting Apple in the middle of a new Cold War between two superpowers.