Jannik Sinner has overtaken Novak Djokovic as the new world number one, becoming the first Italian to do so.