Competition from companies like Samsung and increasing consumer interest in phablets have chipped away at Apple's dominance in the portable electronics market.