Fox will acquire the streaming and hardware company Roku, continuing the trend of large-scale consolidation in the television and streaming industry.