Google has removed the barriers it put in place in 2018 to its AI being used in weapons and surveillance systems.