That depends - The vast majority of 4x4s never go far enough off road that the advantages of gas matter. For the tiny number of people who do that, the ability to bring extra gas with is important. Note that batteries are so heavy that it isn't an option to bring batteries with - the weight is a negative in many 4x4 situations even if the truck could handle it.