Cipher Mining stock took off on Monday on an artificial-intelligence computing deal with Amazon.com that overshadowed the Bitcoin mining company’s earnings.