Some phones had near-IR camera (Pixel 4, Samsung S10) accessible via API. No "killer app" was found since then, 5+ years
Ironically, older iPhones have better depth resolving capability overall. Apple sacrificed depth sensing performance in favor of smaller unit size in the newer ones.