Carlos Alcaraz safes year-end world number one at ATP Finals in Turin after beating Lorenzo Musetti, with Alex de Minaur also reaching the semi-finals to face Jannik Sinner.