TSMC, the world’s largest producer of advanced chips, posted a 54% hike in third-quarter profit.