For the broth, peel the apple and ginger and cut into small pieces. Also cut the pineapple into pieces. Lightly press the lemongrass and cut in half lengthways. Put the water, soy sauce, star anise, shiitake mushrooms, lemongrass, apple, pineapple and ginger in a large saucepan. Peel the garlic and add it too. Let everything simmer until the liquid has reduced by about half.