Control of Viacom, the $40 billion media company that owns MTV, Comedy Central, Nickelodeon and Paramount Pictures, will go to Sumner Redstone, the 93-year-old billionaire who ran the company for years but is now in failing health.