Google is giving away access to an automated tool for writing computer code, as it tries to catch up to Microsoft in a growing business for artificial-intelligence providers. The company is adding a ...