A new HBO comedy takes a jaundiced look at the making of a second-rate superhero film.