Alphabet said profit included “net gains on equity securities of $10.7 billion,” in part from a private company. Meanwhile, Amazon’s third-quarter profit climbed 38%, helped by a $9.5 billion pretax gain from its investment in Anthropic. The higher value was reflected in Amazon’s nonoperating income for the period, the company said in its Thursday earnings report.