The company's Q2 earnings and revenue exceeded expectations, driven by surging AI deployments and robust customer demand.