A rally in big tech and a batch of earnings from corporate heavyweights drove stocks to the brink of all-time highs in a ...