Romain Grosjean survived a crash in which his car hit a barrier, split in half, and erupted in flames.