I think you are just plain wrong here. Frankfurt would do just fine without Berlin. Your points would make sense for the state of Hesse, where Frankfurt is the main source of income, while others have negative budget. But there the relationship you described, is indeed true: People are commuting to Frankfurt, that is why all the taxes are getting paid there. If not for the rural parts of Hesse, Frankfurt would look different.
Berlin on the other hand does not really benefit Frankfurt at all, from a tax point of view. In the contrary: If Berlin wasn't there, maybe Frankfurt would be the capital of Germany.
Germany is a nation-state, but also a federal nation-state. The whole point of federalism is, that each entity can decide, what quality of live means for them and what they want to do culturally. It also means, that these entities are responsible for collecting their own taxes and paying for their stuff.
Thankfully, German states are soon constitutionally mandated to have a balanced budget, so this will end.