Bank of England economist warns thousands of UK jobs at risk from robots and AI