The Dev Team used VNC to do the unlock demo. You can install it on a jailbroken iPhone.
When I watched the keynote, I saw that the iPhone Apple used had a really thick cable coming out of the end of it. It's possible that they're using a hardware modified phone that can send the video out over FireWire, DVI, or VGA. They're definitely not using VNC because there's absolutely no lag.