I know that locally, stores do give away food - to homeless shelters, etc. (who weren’t going to be a direct customer anyways), although they rely on the shelters picking up the food. That’s mostly produce - everything else is increasingly going to discount grocery stores that sell expired food, because it is indeed fit for consumption (and they can sell it, as the expiry date is essentially arbitrary).