Similar Items: Terminal Coalgebras and Non-wellfounded Sets in Homotopy Type Theory