Star anise is technically the fruit of the evergreen tree Illicium verum. However, this fruit is not used as an edible fruit, only as a spice.
What blessing do the authorities determine is the right one to recite before smelling it?
I would think hanosein reiach tov bapeiros because it is a fruit.
I would think borei atzei vesamim because it is an inedible tree part.
I would think borei minei vesamim because it is indeterminable.