Two media giants reached an 11th-hour accord late Wednesday in their high-stakes showdown over a new programming agreement, heading off a potential angry backlash from TV viewers who faced the loss of such shows as "SpongeBob SquarePants" and "Dora the...