Former world No 1 Jannik Sinner has undergone surgery on his troublesome knee, casting doubt over his hopes of playing at the Australian Open.