Alcaraz’s winning run ended by magical Machac in Shanghai