Tech shares bounced on Tuesday following the prior session's selloff as markets weigh the impact of artificial intelligence on incumbent technology companies while navigating tariff uncertainty.