The UK is in a "new AI arms race" with countries like Russia and North Korea, the Chancellor of the Duchy of Lancaster will say on Monday.