The UK economy unexpectedly shrank in October, marked by declines in output across all three main sectors, official data showed, signaling a weakening of the economy just before the Bank of England's (BoE) final interest rate meeting of the year.