The South African army was using helicopters to pluck people to safety as they took refuge on rooftops or in trees.