Shifting viewing habits threaten its nightly bulletins with marginalisation, while its digital journalism is exposed to hostile social algorithms