TSMC hit a record high after the chipmaker posted forecast-beating third-quarter earnings and predicted a rosy outlook on strong artificial intelligence (AI) demand.