Disorder-driven phase transitions in weak, boundary-obstructed, and non-Hermitian topological insulators