Hammer, a veteran TV executive who transformed the cable TV business, had been vice chairman of the media giant since 2020.