The increasingly pervasive use of big tech-designed AI in weapons and surveillance poses risks to investors.