As TV shifts to the Internet, media companies struggle over technology and its hidden costs