A sweeping new presidential order on artificial intelligence would set national rules on the rapidly growing technology that has big potential but also comes with risks.