Ball screw for regenerative braking system