Tech barons must not be allowed to “let rip” with artificial intelligence (AI), a senior minister warned as John Healey prepared to use the Budget to boost investment in the technology.