James Cameron warns of ‘Terminator-style apocalypse’ if AI weaponised