I don't see how apple could perfect it.
They have no relevant IP and experience in developing such devices and by 2020(the year Apple is rumored to launch a foldable phone) Samsung should be at the second or third generation.
Samsung will be first because they invest a lot of money in research and development(more than Apple actually) and because they don't just assemble phones, they design, engineer and manufacture a lot of the the components that go into a phones like the Screen, camera sensors, RAM, Storage, batteries, modems, SOCs, even a new
magnesium alloy which could be
used to make the phone's frame etc.
I don't understand why it's so hard for apple fans to acknowledge Samsung efforts to bring new and better technology(even innovative) to the market(which is generally available to be used by other phone manufactures as well).
Why must Samsung be mocked and taunted on this site with every single occasion no matter the subject.
Realistically speaking there is no way Apple could even have any hope of developing a foldable phone without the help from display companies like Samsung or LG for example.