Fox is buying Roku in a blockbuster $22 billion deal that could reshape the streaming landscape, pairing one of TV’s biggest content libraries with a platform used in more than 100 million households worldwide.