(Reuters) - DirecTV, the No. 1 U.S. satellite TV operator, said on Sunday it has agreed to sell itself to AT&T for $48.5 billion, in the second mega-deal to shake up the U.S. television landscape this year.