Two white South African farmers appeared in court on assault charges after an online video emerged showing them pushing a black man into a coffin and threatening to burn him alive.