Google parent Alphabet Inc. agreed to buy nuclear power from Constellation Energy Corp. in a deal that will spur the addition of 890 megawatts of new reactor capacity. The power producer’s stock soared.