Most robotic hands are capable of performing handshakes in one shape or form. They are not always capable of doing it with human-like agility though. The Laval University Robotics Lab has demonstrated a prototype that produces a realistic human-robot handshake.
The hand is mounted on a 7DOF manipulator. The above video shows the fingers and palm mechanism in action.