Marc Marquez secures a record-equalling eighth MotoGP championship and moves level with Giacomo Agostini.