Companies like BuzzFeed, Vice Media and Huffington Post are known as “new-media” specialists—makers of lists, articles and videos designed to go viral online and lure young audiences. Now, they’re venturing aggressively into a decidedly old-media stronghold: television.