It's very simple. Apple claims that 30% is required to pay for the infrastructure they use to vet submitted applications. Anyone that has automated anything with software will have a strong clue that this claim is absolute rubbish.
All they have to do is stop being ultra-greedy about their royalties. That's literally it, and they won't. They won't relent.
So what's an alternative that a state law can enforce? Allow third party app stores.
Third party app stores are the less attractive option that can be enforced by laws, so that's what North Dakota is attempting to do here.
If third party app stores do exist for iOS one day, you won't be required to use them. They only need to be an option.