Tech giant says in updated ethics policy that it will use AI in line with 'international law and human rights'.