Tribune Media Co., one of the biggest U.S. TV station owners, agreed to sell the iconic Tribune Tower to CIM Group for $240 million, part of a plan to use its real estate holdings to raise money.