Apple scored an all-time revenue record during the middle of a pandemic.