That's hardly an apt comparison. People are wary about unlawful trespass on private property and there are numerous and typically obvious signals which people use to understand which private property is out of bounds for entering without explicit permission and which private property has implicit permission to do so. More so, a sign specifically detailing the rules necessary for entering would make this even more clear and there would be little or no reasonable defense against someone who went out of their way to break those rules. And it would be a crime to do so, either unlawful entering, breaking and entering, or trespass, depending on the specific circumstances. However, these are local misdemeanor crimes, not federal felonies. Though if someone walked through an obvious hole in a fence in order to intentionally bypass the security on, say, an army base that could be a felony.
The internet includes just as varied a spectrum of activities as does private property, so the implications and consequences of violating the ToS for a given site are, or should be, equally varied.