A pilot has died after his plane spiralled out of control and crashed at an air show in South Africa.