Another idea for allowing buildings to level up would be a super expensive end game tech allowing that option, and then having money and research playing a role in increasing the building level cap in a similar way to annexation mechanics on single cities. However, instead on money and civics, it's money and research that increases this cap.
I was thinking that this could be a technology that has a research and money cost in either the trillions or even a quadrillion if necessary.