Gael Monfils made Australian Open history as he stunned world No 4 Taylor Fritz in the third round in Melbourne.