 China's manufacturing muscle made Apple a global phenomenon. One of the biggest Apple factories was producing 500,000 iPhones a day. But the company's relationship with China has not been easy. Tim Cook was turning up in Beijing more often and with glummer looks on his face than in the past.