A worldwide community photographing and learning about wildlife
Fleshy straight leaves yellow or red or orange flower spike.
Tropical houseplant
Looks as though it could be a relative of a pineapple plant.
You're right, it's related to pineapple. Most Bromeliads are epiphytic but pineapple is a terrestrial bromeliad.