How do I build or buy a Servo Motor that does this?

You could probably fit a small Arduino (Attiny?) inside that housing. I guess it just uses the USB for power.

...R