Google on Friday agreed to buy a central London building complex for $1 billion, but stressed it remained committed to…