AT&T reached a deal with EchoStar to buy certain wireless spectrum licenses for about $23 billion. The deal covers about 50 megahertz of nationwide spectrum, and expands AT&T's 5G and fiber services.