Tech Giants Lead Market Rally as Investors Reassess AI's Potential Impact