This comment make a couple assumptions I don't agree with:
1. That technological development and a "carbon neutral goal" are incompatible. Carbon neutrality is precisely a problem of technological development, with green energy, battery technology, and improving the grid all on the vanguard of modern technological development. The problems caused by global warming will only get more severe (even if they don't cause the apocalypse) and these technological issues will be correspondingly more important for the survival of any other tech that depends on energy.
2. That America's military interests and private sector involvement are inevitable. I think that Google could influence an overly militaristic policy precisely by withholding support. We are _not_ a dictatorship where everyone and every institution must bend their will to the leader, and changes are in fact sometimes made through a show of resistance. This may be a somewhat naive view, but I think it's more correct than one that sees US politics as so inevitable that even Google has no choice but to fall in line. Sure, it would probably cost them to resist, but as another commenter pointed out: ethical decisions typically have a cost.