Mayor’s fears over decline in office-working described as ‘another case of do as I say, not as I do’