Earlier quoted context omitted.
You're correct that a corporation's biggest enemies are the workers who do all the work and create all the wealth of that corporation. You're also correct that this is a victory for those workers and a defeat for the corporation.
In "moral crusades" like this, it is often a very vocal minority that dominates the discussion. I seriously doubt that it was a majority of Google employees who objected to this.
do you suppose the decision to support a military project was made by a large majority before? Committed minorities almost always steer decision-making within business ventures.
By framing this as a 'moral crusade' you're suggesting that there is an asymmetry here while there is not, participating in projects that can be used for purposes of war is no amoral default position. The stronger minority simply won.
Or framing it in another way, suppose Google would hold an employee vote tomorrow, do you think this would change the outcome?