The executive order seeks to manage artificial-intelligence threats from privacy to national security.