That's a business decision. While stationed overseas, we powered the fuel pump from the battery of each vehicle being filled.
Stateside, commercial gas station owners don't want to put in generators because they can't recoup the costs and don't trust the gas jockeys to not burn the place down.
It is not just the physical pump that needs electricity. It is the payment system which also needs the Internet.