AT&T is struggling to keep its TV customers in favor of streaming service providers, such as Netflix. Gains from other parts of the business make up for it.