The Italian won the penultimate MotoGP in Sepang to force a final round championship showdown with Jorge Martin.