The deal will bring together two of the world’s most high-profile digital media firms.