Unlike the relationship of federalism that exists between the U.S. government and the states (in which power is shared), municipal governments have no power except what is granted to them by their states.
In effect, state governments can place whatever restrictions they choose on their municipalities (including merging municipalities, controlling them directly, or abolishing them outright), as long as such rules don't violate the state's constitution.