AT&T Inc. and TPG Capital have inked an agreement that will make AT&T’s struggling DirecTV video business a separate company.