Apple has announced an additional $50 billion in buybacks and a boost in its quarterly dividend after earnings slipped.