Carlos Alcaraz will end the year as world number one after beating Lorenzo Musetti at the ATP Finals 6-4, 6-1 on Thursday.