Jamie Dimon has apologised after saying that his Wall Street bank would outlast China’s ruling party.