Captain Michael Clarke admits he was "out of line" for confronting Dale Steyn in Australia's dramatic Test victory over South Africa in Cape Town.