Some sitcoms run out of steam after a few seasons, stretching their characters beyond recognition to keep the jokes coming.