IMO the bulk of this is due to workplace culture, not being remote. Naturally being at home adds some logistical flexibility, but the bulk of the gap is between companies who treat their employees like toddlers and those who actually respect them as adults (see also: dress code for non-customer-facing work, overly-fixed hours, etc). You can see this distinction in the slow creep of employee-monitoring software over the last couple of years, where being remote doesn't save you (though I would guess that this is unlikely to take hold).
On the flipside, there are workplaces who avoid this form of contempt for their employees without being remote. My in-office job at eg Google had the majority of the flexibility you're describing, including the naps! The other companies I've been at didn't have the same resources as the Googleplex, but still trusted me to understand best what determined my productivity. Perhaps I've been spoiled, but I truly can't imagine working somewhere that was so openly disrespectful of my ability to do my job effectively; I'd feel like a McCashier or something.
On the axis of workaholism, this French law and, say, Goldman Sachs may be on opposite sides of the spectrum. But on the axes of treating employees like children, they're two sides of the same coin.