Constellation Energy Corp. agreed to sell power from an Illinois nuclear plant to Meta Platforms Inc. as artificial intelligence sends power demand soaring.