Harvard Square in Cambridge, MA, has trended towards being one of these places in recent years. Restaurant or other long-standing business can no longer afford the rent, and it’s either replaced by nothing or a bank. It says the lifeblood out of the area.
From what I understand, the owners of the buildings are holding out for the high cost renters... like a bank.
A city government could provide incentives to ensure these places don’t sit vacant, and that formerly thriving areas stay interesting and have shopping for most people, not just those with massive wallets or looking for a bank.