TiVo wasted its prime years protecting a patent that no longer matters, winning courtroom battles, but losing the TV war.