Refer to this line in the passage "Today, technology is a subject of debate because it is considered to be a double-edged sword. While it has helped humanity in extending its potential with outstanding inventions, it is nonetheless threatening humankind through some other destructive ones."
The idiom 'double-edged sword' is used for something that can be both beneficial and problematic.
Clearly, the reason why technology has been referred to as a 'double-edged sword' is that on one hand it is helping mankind but on the other hand it is threatening humankind through the creation of destructive inventions.