Apple on Thursday said it saw record-high earnings in the final three months of last year, with iPhone sales surging in greater China.