Non-ergodicity in kinetically constrained models: localization, fragmentation, and confinement