Reading all of these takes stating WFH leads to poor productivity simply doesn’t make sense to me.
If your employees cannot be trusted to fulfil their responsibilities (whether in an office, their home or a tent in a woodland) that is not a geographical issue. It is a mentality issue and you are always going to face productivity issue from that employee regardless of from where they work.
I’ve been told time and time again by an array of managers in a bunch of departments and companies that my productivity never changes. That is regardless of whether I am travelling or at home. This is including being in Sri Lanka during their worst economical crisis and facing power cuts of 8 - 12 hours everyday. As a responsible adult I prepared in advance. I bought power banks which could charge my laptop and ensured they were charged when the power worked. I bought SIM cards for all mobile networks and ensured I had data. It really is simply a matter of taking responsibility of one’s situation and having a sense of respect for, and from, your employer/employee.
Forcing people into working conditions in which they are uncomfortable is only going to harbour resentment towards the company and if you are in a country where workers actually have real rights you will have a hard time firing them.
I fear that this is all simply a smokescreen for the authoritarian shift which has occurred throughout the globe. It started pre pandemic and was exasperated during it. Scary times lay ahead.
As Office Space says: it is a question of motivation.
If you care, it'll get done. If you don't, you'll find a way to slack off, even if you're at the office.