The streaming giant has faced increasing competition from rivals including Amazon, HBO and Disney.