Actually, it was a small israeli company,
PrimeSense.
----------
Along theses lines, the one really good use of the iPhone's gyro/accelerometer/compass is for stargazing. Apps like SkySafari and skyview allow you to point your phone to the sky, and show what stars and constellations you are looking at.