I've rooted Pineapple tops a few times over the years and they always rooted easily but the only one that produced a fruit was back in the late 60's when my family lived in Miami. I planted it in the garden and waited and waited and finally saw a cute little fruit forming at the top ... then one day it was gone! For some reason someone had cut the little itty bitty pineapple right off! I don't know why and I never found out who or what (maybe a critter?) decided to take the little fruit but it was nowhere near the size to be ripe.
The one's I've rooted since then have just grown until I get tired of them (I'm not into thorny/prickly plants) and throw them away. I've not kept any long enough to produce fruit. Same goes with rooting Avocado pits. I have one in water right now that's been sitting here for about two months ... no sign of splitting or sprouting yet. As I get older my patience grows thinner LOL so it might not end up hanging around here much longer either.