The screenwriter skewered political spin doctors: now his new show targets media’s ultimate players: America’s rich and powerful TV barons. ‘Comedy has to be part of how you portray these people,’ he says