There's a lot more healthy competition between grocery store brands than in e-commerce. If Amazon weren't so dominant then they wouldn't be the target of this kind of regulation.
I'd say the cost of switching in real life is a lot more expensive than going to a different URL. Amazon is dominant because it fights to provide a good value to its customers. It's easy for them to type in a different URL.