Tommy Robinson is being kept away from other prisoners over fears he will be killed by another inmate, a court has heard.