Ilya is explaining (quite correctly) that the Start Trek Federation is a socialist state. Its political evolution has not been described well in the lore (political aspects have not been emphasized at all), but it may be interesting to look at sci fi genre from this point of view. Especially, as Ilya points out, that most of the people have their vision of the future formed by such movies and books more than by serious scientific literature.
He is asking if the latest movie explains how the Federation became socialist. I watched the movie yesterday and can say that there is no explanation because it is happening in an alternative reality. Although I have noticed that some people did not quite realize it, even though it is quite explicit from the start.
This, I think, is one of the reasons the Firefly/Serenity universe is more interesting: it is more realistic. I guess it was made so because it is closer to our time.