Great, what a gimmick! An IR sensor is multiple times more usable but I guess it's reserved for cheap Chinese phones...
Yeah it's kind of (a lot) embarrassing tbh. iPhones consistently have a depth sensor that in addition to face unlock is now being used for features like custom face masks, Pixel Pro (only) has a temperature sensor that from what I can tell is wildly inaccurate.