STMicroelectronics is planning temporary closures of multiple fabs as inventory and weak markets hit its 2024 results.