Of course, both The Office and Extras, were written not just by Ricky Gervais, but by him and Stephen Merchant. Maybe Merchant's influence adds the nuance - the subtle, observational humour.
The casting of the Office is also absolutely incredible, not to mention some of the acting performances...