NEW YORK (AP) — DirecTV will buy rival Dish to create massive pay-TV company after yearslong pursuit.