The company, which is in the process of closing 150 Macy’s stores through 2026, is spending money to improve the remaining locations.