Marc Marquez became the youngest rider in MotoGP history to win four world titles at a dramatic Valencia MotoGP on Sunday.