Hoping to lure workers back to their desks, companies are designing “work resorts,” luxe spaces meant to compete with the comforts and versatility of their living room.