Apple (AAPL) reported earnings after the bell on Thursday that beat expectations and set another record for sales generated by its growing services business, though results showed total revenues declined for the fourth straight quarter.