Nobody likes the 30% AppStore fee, but it has never been a credit card processing cost.
It has always been a marketplace access fee.
That’s the principle of building malls and other commercial public spaces: they invest to create a space for people to flock into and advertise and maintain it.
That’s what you are paying for.