The Fruit is a self reproducing entity. It gets eaten, gives it's seed, aka Juubi's Eye, and via the Eye creates IT, which in turn creates another fruit.
But if everyone dies, how would the Fruit be reproduced during the next cycle?
That's where Kaguya comes in. Where did the Fruit she ate...