Google is working on blockchain-related technology to support its cloud business and head off competition for emerging startups,