Battered in the June selloff that sent American equities into a bear market, chipmaker stocks are staging a stunning rebound this month.