I'm not sure there's much you can do if it was eating the apple, except hope she gets better and make sure she is safe in the flock (i.e they're not picking on her).
Could it be some other thing wrong with her and the apple is just coincidence?
My chickens eat large amounts of apples (more than...