Strong China sales help boost Apple, with social media firm Facebook also reporting bumper profits.