Apple didn't do this with the Mac to the extent PC manufacturers did, they stuck to high margins and prices. While that has resulted in 5% global Mac ownership, they maintain their profit and are still competitive in volume with individual counterparts. The iOS devices haven't suffered the same lower sales volume. The ownership is roughly 700 million iOS vs 1 billion Android so assuming those two make up 95% of all modern smart devices, they'd have iOS with 39% marketshare and Android 56% and at least 1/5th of the Android ones are on 2.x. This is partly because although Apple maintains margins and prices, the price points are low enough that it doesn't make as much of a difference. A $500 15" laptop or a $2000 15" laptop is a big difference; a $199 7" tablet or a $299 iPad mini is not that big of a difference.
When it comes to phones, the cheaper ones are going to affect the volume going forward now that Nokia is dead in the water so the sales volume to developing markets is going to be huge. This isn't a high profit market though. I fully expect Samsung and others to cut margins, sell loads of devices into developing countries and Samsung alone might top 1 billion smart device sales per year but their profit won't grow. Apple will stick to what they do and end up making the same or more profit for a fraction of the volume, same as they do with the Mac.
They have different strategies. Samsung is the type that thinks the customer is always right, Apple thinks the customer doesn't know what they want until they get it so they make the call. Samsung says 'so you want a big phone, small phone, medium phone, yellow, green, pink, with stylus, no stylus, in plastic and metal, with removable battery, you got it'. Apple says 'here's a couple of phones that make reasonable compromises and that's it because too many options undermines having choice'. If people don't like Apple's strategy, they go with Samsung. So far, it's pretty evenly split. Apple doesn't need to take the whole market, nor does Samsung and neither of them will.