Revival of Tech Giants Drives Market Gains