It will be interesting to see how all this ultimately plays out. My best guess is that companies like Shopify, who are fully committing to remote work, with in-office options, are going to end up with better retention. However, it also seems plausible that places requiring in-office schedules will simply attract people wanting that and the places offering remote will attract people wanting that.
From what I see, there is a pretty clear line in the sand between folks that want an office and folks that don't. While a 3/2 hybrid schedule may be better than in the office 5 days a week, it's still quite a bit worse than being remote 5 days a week if that's your preference.
I've been working remotely for the past three years and it's crazy to think back how relatively rare of an opportunity it was when I started doing it. It's everywhere now and a ton of people across the world have gotten the opportunity to try it out. You hear a lot about how COVID accelerated a lot transformations by 3-5 years. I think it accelerated remote work by at least a decade, probably more.
That doesn't necessarily mean their top priority isn't productivity, because the productivity of an organization is not simply the sum of the individual, independent productivities of its members.
They may, for instance, believe something along the following lines. 1. All else being equal, most people are more productive individually at home than in the office. 2. Individuals' productivity in the office is higher when other people are also in the office, because they can cooperate. 3. Individuals' productivity is better directed (i.e., the stuff they're productive at is a better match for the actual needs of the company) if at least some of the time they're physically in the same place as their colleagues. Without that, they may work more efficiently but they are less likely to be working on the right things. 4. Because of 3 (backed up by 2) the amount of value provided to the company is greater when employees spend some time together in the office.
Whether any of that is actually true is another matter. And of course they may also just like the power-trip of seeing all their minions working busily. But it's not true that the words you quoted have to mean that productivity isn't what they care about most.
(In case it matters to anyone: I am not a Googler, have no interest in watching minions working busily and furthermore have no minions, and much prefer working from home though whether I'm actually more productive there I don't know.)