The FBI has launched an investigation into the way a policeman dealt with a student at a high school in the US state of South Carolina.