Three decades after the ANC swept to power in the first post-apartheid election, it will limp to power again in a country ground down by corruption, crime and unemployment.