Daniel Mays and Stephen Graham are paired in a new sitcom about a murdered detective rebooted through AI