Google on Wednesday removed a pledge from its artificial intelligence (AI) principles that had stated that the company would not use the technology to develop weapons.