I have highlighted the answers, please see below:
When a U.S. company purchases and imports electronic parts from China to use to produce MP3players within the United States, this purchase increases the investment component of GDPwhile also decreasing net exports by the same amount. Therefore, the purchase of electronic parts from China causes no overall change in US GDP.
The investment components of GDP will increase if anyone from the country will purchase goods and services from another country. In the above scenario, since US purchase electronic parts from China then the investment component will increase, then the net import will decrease by the same amount. In other words, the purchase of a product from another country will affect us.