The UK must persuade a “sceptical” public that artificial intelligence (AI) can improve millions of lives and transform the way business and Whitehall works, Sir Keir Starmer said.