Artificial intelligence (AI) and "deeper" ties with Europe are the best ways to get the economy growing, the chancellor will say on Tuesday.