The captain of the South African national soccer team was fatally shot at his girlfriend’s house during an attempted robbery Sunday night as he tried to apprehend the intruders, police and an eyewitness said.