
Certified GKH Gardening Expert
Getting these to fruit indoors is a bit of a task. I'm afraid you may be looking at another two years once you correct some of the environmental factors. You may even have multiple plants before then!
Pineapples need an incredible amount of light. The equivalence of the sun. This means that you will need about 200 watts of light per plant. Metal Halide and High Pressure Sodium ballasted systems are still the standard, however, if you are willing to spend the money, then you can invest in a High End LED panel.
The cheap panels will not suffice here, since they need more of a spectrum than cheap panels provide. All high end panels are at least 9 band, and better is 12 band light spectrum. If you decide to go with an LED, make sure you use the actual watt draw as a reference and not equivalence, since pineapples will be picky about this.
If none of these are feasible, then it will need to be out in the sun for well over 8 hours per day all year.
Otherwise, if you can't provide adequate light to the plant, it should be expected to only produce foliage, and have a similar care to Bromeliads.