Hewlett Packard Enterprise's closing of its Juniper deal created an opening in the index, which has added several technology companies in recent months.
Stocks tied to the price of ether were higher, reflecting renewed enthusiasm for the crypto asset amid a surge of interest in stablecoins and tokenization.
The latest version of President Donald Trump's "big beautiful bill" provides larger tax credits to semiconductor manufacturers building plants in the U.S.
Tesla shares dropped 7% from Friday's closing price of $323.63 to the $300.71 close on Tuesday ahead of the company's second-quarter deliveries report.
Apple has accused a former engineer for its Vision Pro headset computer of stealing trade secrets before starting a new job at Snap, according to a lawsuit.