Coco Gauff beat defending champion Iga Swiatek 6-3 6-4 at the WTA Finals in Riyadh on Tuesday to reach the semi-finals and ensure Aryna Sabalenka would finish the year as world number one.