My understanding is that not all ToF sensors are LiDARs. There are also different types of LiDARs, e.g., some of them scan the environment and others just emit a single beam in the same one direction. I think iPhone Pro has the scanning one, but I haven't read much about it.