It's one of many possible reasons, but certainly not the only one. And any buying decision is probably made because of a bunch of different factors (the ratios being different for each person).
Tesla's selling all the electric cars they're making, certainly not only because the people who buy them are saving money on gas.