Are Apple Event Demos done in real time?
Most demos are done real-time from the console they have off to the side of the screen.  The presentation, and often the code displays, are done with Keynote (not Powerpoint). 

Of course, sometimes demos are actually pre-recorded and this was often done when Jobs couldn't get the real demo to work correctly due to network or other issues.