Now the question is, which of the two companies has been a better investment. Finance.yahoo.com says it clearly:
Hon Hai Precision earned an equivalent of $3.5 billion in 2013 at the gross profit margin of 6.9 percent. Apple earned over $35 billion (net) at the lovely gross profit margin of 37 percent.
That's the difference between the developed markets and the emerging markets.
Note that past performance is absolutely no guarantee of future returns. I'm not saying "go and shop for some AAPL stocks, right now". The prevailing division of labour may change over time. The division of profits would change accordingly.