It's equally a 'miracle' that there wasn't anybody in the pedestrian tunnel at the time (or that nobody got hit by the flying wheel).
This was the first race of the day. If the same crash had happened during one of the later races (when many more people had arrived at the circuit), the outcome could have been far more horrific. Thankfully it wasn't.