Comcast Corp. announced Thursday that it is buying Time Warner Cable Inc. for $45.2 billion in stock. The deal combines two of the nation’s top pay TV and Internet service companies and makes Comcast, which also owns NBCUniversal, a dominant force in both creating and delivering entertainment to U.S. homes.