It’s the latest attempt to find a happy medium between working arrangements like Airbnb Inc.’s — where staff can work anywhere, anytime — and those at companies like Tesla Inc., whose chief executive officer Elon Musk tweeted that unless employees turn up in the office, “we will assume you have resigned.”