Repeat after me. "You're scaring me. If you want me to keep talking to you, seek professional help." Then be willing to follow up on that if she doesn't.

You can't and shouldn't be expected to fix this all on your own. All you can do is help connect her with somebody who is trained to handle this sort of thing, and be willing to extricate yourself if she's unwilling to get help.