Only eight companies in the S&P 500 have larger market values than Apple’s outlay on share repurchases over the last decade.