The governor of the Bank of England has said training and education in artificial intelligence will be “critical”.