Google cancels contract with AI company that also helped Microsoft and Amazon