Cash-for-computing deal shows how large tech groups are investing in companies at the vanguard of generative AI