I think that it's also partly to stop children using them to pump up their bike tyres.Yes, the filling stations and supermarkets charge for them now in the UK - least all the ones I use do. I suppose to be fair, they have to be maintained, but it's a recent development for sure.
GG