A taxi driver has been arrested for allegedly killing a traffic officer in a hit-and-run incident in Cape Town.