Apple and Nvidia reach historical milestones, dominate the stock market