And "the full Apple" is still someone else makes the product (Apple purchases iPhones from Foxconn):
https://www.nytimes.com/2016/12/29/technology/iphone-china-a...
https://www.nytimes.com/2016/12/29/technology/iphone-china-a...
It sounds like you think that Foxconn develop a new iPhone then Apple turn up to buy them like a consumer!
Foxconn manufacture iPhones under a precise contract with Apple, who do the design and plan how they should be built. Apple don’t just purchase them off the shelf.
You cant talk about samsung as a single company.
Apple tells Foxconn how, what, when etc to assemble often using equipment that Apple owns. So the only thing Samsung has over Apple is that they employ those people. And what value is that adding ?