A failed one-episode sitcom starring Batman’s Adam West became a forgotten comedy masterpiece years ahead of its time.