Apple stock has posted respectable gains on the market over the past six months, but its supplier partner has been a better investment.