China tech firms' share buybacks and layoffs stir hope of a market comeback | Fortune