Apple has reported its second quarter earnings, shattering analysts’ expectations, aided by its services business.