The subways in Berlin had grocery stores in many stations when I lived there in the 80s.
trains here used to take you to shopping destinations, they used to serve food too.
every depot had a cafe.
Europeans do grocery shopping much differently than Americans. Typically they go grocery shopping almost every day and only get what they need for the next day or so. Whereas Americans tend to go once a week and fill up entire shopping carts.
Now since my children have grown up and moved out, my wife and I tend to hit the grocery story about every other day. We are only getting what we need for about a day or so - which is enough to fit in those hand baskets. We find that there is much less waste that way and we are getting much fresher produce and meats as they aren't sitting in the refrigerator for days on end and eventually going bad.
Now we still make a monthly trip to stock up on non perishable bulk items like canned foods, bottled water, paper goods and such. So we won't go hungry if some emergency happened where we could not get to the store for some time.