A new reasearch paper calculates that because of the way trade statistics are calculated - the full value of an iPhone is considered an export to the U.S. from China by both countries, even though only about 1% of the value was created during the final assembly process in China - just the iPhone alone added almost $2 billion to America's trade deficit with China in 2009. The authors find that if a "value-added approach" was used to calculate trade statistics, the iPhone would have instead generated a $48 million trade surplus for the U.S. in 2009, instead of the $1.9 billion trade deficit reported using the conventional methodology.
See WSJ article here, which points out some political implications:
"The new research adds to a growing technical debate about traditional trade statistics that could have big real-world consequences. Conventional trade figures are the basis for political battles waging in Washington and Brussels over what to do about China's currency policies and its allegedly unfair trading practices. There's a growing belief that the practice of assuming every product shipped from one country is entirely produced by that country no longer reflects the complex reality of global commerce.