Eight-time MotoGP World Champion Marc Marquez has announced his retirement just days after clinching his 10th world title.