Kemi Badenoch has apologised to Tory councillors who lost their seats after Reform took nearly all the Conservatives' councils.