My view is that offices were a thing because there was no technology to do otherwise and back then equipment was too large / expensive to be kept at employee's place.
Now only reason to go to office is to artificially maintain property value so landlords don't lose money.
Often the owners also have shares in the business and influence this return to office aka sustain my property portfolio nonsense