Time Machine didn't even get real snapshots until APFS came out with High Sierra in 2017. It had to walk the filesystem while you could still write to it; it wasn't truly point-in-time.
And even then, filesystem snapshotting isn't the kind of rollback you get with Nix, and Nix's implementation doesn't require a filesystem that supports snapshots.