The results showed off the robustness of the two tech giants’ existing businesses as they spend huge sums building out their artificial intelligence capabilities. Buoyed by those gains, major indexes climbed early in Thursday’s session, only to stumble later on, with even the tech-heavy Nasdaq composite finishing down less than 0.1%. Investors cited concerns about tariffs as one reason for the market’s reversal.