The broadcasting company benefited from higher ratings, political advertising revenue and growth at its ad-supported streaming service Tubi.