Marc Marquez claimed his seventh consecutive MotoGP double in Hungary, defeating Pedro Acosta and Marco Bezzecchi.