Scientists have called for a ban on the development of weapons controlled by AI.