Apple's 3Q earnings beat expectations