AI systems may not be plotting to incinerate humanity, but they are mushrooming at a time when globalisation has withered, and corporations, not countries, are poised to control technological advances and neural networks