Walt Disney Co. on Thursday agreed to buy key film and television operations of 21st Century Fox in a $52.4 billion stock deal that could reshape the media-entertainment world and step up a challenge to Netflix and emerging tech platforms. The blockbuster transaction also vastly reduces the Fox media empire built by Rupert Murdoch, leaving the…