It's my understanding that fruits typically are made to be consumed, in the sense that it benefits the evolution of the plant. An animal eats the fruit and perhaps some seeds along with it, the seeds don't get digested and end up in soil somewhere further than the plant could spread on them on its own.
How do pineapples fall into this mix? They're practically impossible to eat without tools, and it looks like it's by design. It also bothers me that they're not as easy to eat as apples.
How would this be beneficial to the evolution of the species?