TSMC reported record profits for the fourth quarter of 2024, fueled by booming demand for artificial intelligence (AI) chips.