Nanoseconds is a natural unit for processors operating around a GHz, as it's roughly the time of a clock cycle.
If a CPU takes 4 cycles to generate a UUID and the CPU runs at 4 GHz it churns out one every nanosecond.