It's typical Apple PR speak designed to make something sound more than it is. Apple didn't actually claim that 30,000 dots hit our face... but only that that many were projected
Looks like there's (much) less than a thousand dots involved. Which is apparently enough.
The original 2010 Kinect had the same type of pattern. Which is not a surprise, as it was licensed technology from a company called Prime Sense, which Apple later bought in 2013.
From what I gather, the primary reason for the speckled pattern is that it's easier to recognize which particular dot you're looking at, from the pattern of its surrounding dots. It's a self-marking scheme.
--
The original worked something like this: during assembly, the subsystem is forced to project the dot pattern at a test target, and the device-specific pattern viewed by the camera is burned into the iPhone as a flat template to check against. (The Kinect pattern used different size dots as well, meant for different depth fields.)
When later the system is trying to recognize you, it searches for key dots. Their X offset is compared against the stored flat template to determine primary depth markers. (Apparently you can ignore Y offsets from depth. Go figure.)
Then, using the assumption that surrounding dots cannot be too different in depth, it works its way outward from the primary dots to their surrounding dots, "growing" more depth info as it goes.