the smallest self-balancing robot

Of course the resolution is limited by the wavelength. This is true of any technique that involves wave propagation.

As DuaneDegn points out, for a sensor to pick up a pressure wave signal, a significant fraction of one wave cycle must act upon the transducer. Furthermore, most ping sensors send out a pulse train, and you might not even detect the first pulse in the train.