In Cities: Skylines 2, the way businesses upgrade their buildings is by making a solid profit. If they have money left over after taxes, service fees, employee payroll, and resource purchases, they'll set that money aside and eventually spend it on an upgrade.