This video shows an excellent compendium of accidents that occurred in Formula 1. Most of the accidents shown correspond to the modern era of F1, although some are older. One of the oldest dates back to the time of the first Renault Turbocars.
Other surprise accidents in this compilation occurred at times of refueling in the pits.