Daniil Medvedev reaches the semi-finals at the ATP Finals and Carlos Alcaraz keeps alive his own hopes by beating an anguished Andrey Rublev.