Apple has been beaten to the market by competitors such as Huawei who have already included a ToF sensor.