You know the "slug in the bottle" case?
Historically, people were not well protected, and traders took advantage of this. We survived because we're tough enough to ride out most food poisoning, but some childhood mortality probably comes down to this, as would some other shorter lifespan on the tables of mortality.
So yes, for most of human history we didn't have either corporations or laws about food hygiene. Except I think you'll find some of the earliest laws are in fact, about food hygene: market regulation was about markets in the literal, tables of goods in the square sense. The right to run a market came with the requirement to run it properly for the common good. Burghers prohibited butchers from dumping waste meat.