This article is garbage. It can be boiled down to one sentence: "if working from home makes me happy at the cost of productivity, forcing me to come into the office just because it's more productive is the moral equivalent of requiring me to take Adderall." To which the appropriate response is: "bullshit". Requiring someone to take physically harmful and addictive drugs is not even remotely in the same galaxy as requ…
As to your last point, you don't get paid to be productive (necessarily). You're paid to provide work, and different jobs have different metrics for that. There are for instance substantial differences between salary, hourly wage, and commission work - someone being paid a flat fee for a project has no obligation to be efficient or productive, only to fulfill their stated terms. Diminishing efficiency in favor of happiness is a perfectly reasonable aim, particularly in certain jobs.