Fox has announced its intention to buy Roku in a deal valued at $22 billion.