Military use isn't as big a market as you think it is. iRobot is the largest supplier of robots to the US military but military sales only account for 10% of its revenue.
Yeah, that's defense and security. We know that they make money there.
iRobot makes most of their money right now with automated cleaning systems. Just look at their recent financial statement. But that's an offering which Google / Boston Dynamics does not have.