AI boom drives tech stocks higher despite bear market challenges