With that same argumentation, it can be argued that moving food from rural areas into cities is doing something for the benefit of people living in cities, not society as a whole.
Also, internet and such for rural people benefits society as a whole, indirectly. For example, better crop yields (Through better access to information) and such.
But if you take a look at the massive amounts of subsidies (to both farmers and consumers), you realize food (in the US, at least) is not a “free market”. Same with fuel, etc.