TSMC's stock price has hit a new record high after Apple announced the company would integrate artificial intelligence into its products.