There is not really any reason to conclude that "american tech" was responsible for this attack. If anything, given all the sanctions Venezuela was under and how friendly they are with china, i would be surprised if they were using american tech in their infrastructure.
[Of course i agree with the broader point of dont become dependent on the technology of your geopolitical enemies]