Peel apart a smartphone, fitness tracker or virtual reality headset, and inside you’ll find a tiny motion sensor tracking its position and movement. Bigger, more expensive versions of the same technology, about the size of a grapefruit and a thousand times more accurate, help navigate ships, airplanes and other vehicles with GPS assistance.