This is a Skywalker Sound sound effect. This sound was created by Ben Burtt for Star Wars: Episode IV - A New Hope (1977), as the sound of R2-D2 moving.
Links:
https://soundeffects.fandom.com/wiki/SKYWALKER,_MOTOR_-_ASTROMECH_DROID_MOVING#Audio_Samples