The UN Security Council has failed in eight secret ballots to choose a successor to Secretary-General Antonio Guterres, whose term ends on 31 December.