Technology is the proverbial knife which can cut a fruit to feed and can also cut a throat to terrorize. Take the current darling of tech, AI/ML. If you are working on this, at a megacorp especially, you should realize that sooner or later it will be used for nefarious activities. But should that stop you from contributing to the field? Would database engineers rue the fact that their products are used to store child porn?
My point is, unless something as explicit as the ones depicted in the article happens, its highly unlikely to know what the tech you are developing is going to be adapted for besides the one it was designed and built for. The google employee notes it themselves. Having ethical concerns is always advisable, but constantly wanting to know if the tech will be used by evil doers (which is not same as wanting to know more about a specific requirement that looks questionable) just makes one come across as a dick because no one except the powers that be would know that.
I hope engineers don't go from being sheep to full on hippies, but choose the rational middle path instead.