Why can’t they? You technically have a choice to go elsewhere to do your laundry or to eat. It’s shitty and probably a long term negative but it isn’t anywhere close to illegal.
People should be allowed to set the rules corporations have to agree to to be allowed to do business near them. "Can't require a phone to purchase things" is a perfectly reasonable such rule... And in some states is a real one.