I wouldn't worry about it.
you say a lot of it rots, so they are not eating all of it.
I have an apple tree . If an apple falls it is a race between my wife and the chickens to see who gets it.
by keeping the apples cleaned up, I have never had to spray that tree and i have never had a wormy...