Media and technology giant Comcast Corp (NASDAQ:CMCSA) has signed a contract with Constellation Energy Corp (NASDAQ:CEG) to buy enough solar power to cover the electricity demand of 12% of its US operations.