Apple's representatives have said, I believe under oath, that they don't know and don't calculate how profitable the App Store is [1]. So, keep that in mind when asserting whether or not Apple has done the math on something; for better or worse, nowadays I believe its for the worse far more often, they love operating on vibes.
[1] https://9to5mac.com/2024/04/17/app-store-is-profitable-apple....