Most modern robot joints use an electric motor. Brushless motors are popular because they are efficient and last long.