Permitting etc. is 0.5% to 2% of development costs, which is itself a small subset of what rent pays for, and only for the first 5-10 years.
This number would be $0 for most cups of coffee (made in paid-for buildings) and <$0.02 for pretty much all the remaining ones, I think?
Rent on the other hand is 15%+ for every cup of coffee in perpetuity (not counting second-order question of what % of wages go directly into residential rent).