Why would they invest in the office space for rent? It's not their core business, just a distraction. They might own their own offices, but that should be really tiny, by square footage and by $$.
But Amazon could liquidate it all and make enormous cost savings going remote only if they wanted to. I'm sure any loss they would take would be recouped by reduction in office costs and access to cheaper workforces outside of Seattle etc very quickly. It doesn't make sense.
So? Is Amazon in the real estate business, or in the software business? Which is more important, the physical assets or the assets that walk out the door every night?
If Amazon is really making decisions for this reason, they have lost the plot.