Borrowing – which hit a record £22.3bn in October – cannot go on indefinitely, chancellor says.