Given that the robotics part is from the acquisition of Boston Dynamics, who aim to make robots for the US military, some people would disagree with that summary. It's a long way from "don't be evil" to "we're a defense contractor".
Now that Boston Dynamics is part of Google they will finish their existing military contracts and then no longer take on military customers.
"Google told the Times it will honor Boston Dynamics’ existing contracts, including a $10.8 million deal with DARPA to develop its Atlas prototype for potential humanitarian use in disasters like the Fukushima meltdown. But Google added that it does not plan to become a military contractor itself."
"to make the world more accessible and useful for the benefit of humanity"