Kim Kardashian has told a court she feared she would be raped and killed during an armed robbery in Paris nearly 10 years ago.