Apple on cusp of $2 trillion milestone, defying pandemic