The agreement comes as technology and media giants battle to dominate the global streaming market.