your car analogy is incorrect as it is ignoring the fact that the cars are shaped differently and MPG is rated at speed were air resistance is one of the largest factors for energy usage. (were power required aka drag is speed CUBED)
You forget that a gal of gas is defined as 114000 BTU/gal (as different formulations of gas have different amounts of energy/gal). so if you burn that in a 100% efficient way then yes they all get the same energy/gal. (which is why the efficiency of the generator matters) but for the sake of the discussion when talking about single cylinder rotating generators (or inverter types) the diffrences between 5-10-15hp versions is basically zero ie they have the same efficiency.