Technically it's the seed of the apple that is the reproductive part. If I understand it correctly, the flesh of the fruit is there to attract potential pollinators? They eat the fruit and poop the seed somewhere else.
If not, then that's part of it.
As for the juice, it's just water and sugars. So if you think about it a certain way, you'd be showering the tree in its own piss.