The hotel could treat such taxes as overheads and incorporate it into the price, but that's not really useful because they can't change it, only the customer can. Most business overheads aren't like that. If only a customer can affect a charge it makes sense to break it out and highlight it.
What if the shoe were on the other foot? What company would hire me if I negotiated a salary and then after we shook hands and everybody had the warm and fuzzies, I said, "Well now, you'll understand this is just the rate I charge, so it is exclusive of federal and state income tax. These are additional fees that I am responsible, by law, for collecting from you on behalf of the government. I've broken the numbers down this way in the interest of full transparency."
There is a single income tax rate, 10%, so it doesn't matter how much you earn. If your investments make more than the annual minimum wage, you also have to pay the health insurance tax and "social security" tax.
Interestingly, many large companies use services for this kind of thing, much like Apples walled garden, where their employees can spend without worrying about tracking all these details, and the service takes care of all the (significant) legal wrangling and deal negotiation to make this simple.
That's essentially what Apple does for their money: makes it possible for users to buy things across a host of jurisdictions from an ecosystem of vendors, without risking their device security or payment security. There is a significant amount of legal and infrastructural wrangling involved, most of which the end customer, and many of the vendors don't fully understand.
But yeah, let us focus on the least important part: price.
We could test this, I mean, suppose the invoices or even the details at the checkout broke down the total into developer’s fee, apple’s fee, government tax, and so everyone could see that, would that be sufficient to fix the problem? I suspect not, because Epic, in this story, are seeking to pay Apple less, and give themselves more - that’s really their bottom line.
Are they really going to all this trouble on my behalf?