This fruit is unusual for me, and i assume it is unusual for you too, Pandanus species, with multiple fruits. That means this is a bunch of fruits, not unlike a bunch of bananas, or a bunch of grapes. But the nearest similar in appearance is the pineapple, also a multiple fruit fused together in the pineapple fruit we are very familiar with.
I took these photos in Batanes, a group of islands in the northernmost tip of the Philippines. It is nearer toTaiwan than to Manila, which is 50 min by plane. In fact there was this joke that in Batanes you can hear the sounds of roosters when they croak every hour through the night.
But this plant is common also in other parts of the country especially near the seashores, where most of the resorts in the country are located. I have also glanced at a single fruiting plant near the Station I of Boracay.
Several fruit bunches are born by this plant, and they almost ripened at the same time.
Postcript: thanks to Floridagirl for the ID, Pandanus utilis.