There actually is no proof that finger prints are unique. Last time I looked into it. The same goes for DNA.
On the other hand, the issue here seems to be less about how unique fingerprints are, and more about how unique the machine’s reading of a fingerprint is. That has more to do with the machine than the biology.
Hashes are not unique by definition, though we can treat them as such in many practical situations. The same is true for anything with a fixed number of variables with finite states, e.g. DNA.
Still, one can be (un)lucky, or the statistical models could be wrong—maybe the number of repeats is different in a sub population or the STRs aren’tstatistically independent.