There could be multiple reasons to why the Wakandans don't feed the Heart Shaped herb to everybody.
#Political
Political
Wakanda is essentially a monarchy where the king rules with the help of his council. It will not be in the ruler's interest to make a herb that bestows its consumer superhuman strength and reflexes available to anybody and everybody. A rogue citizen who wants to overthrow the king would indeed benefit from the Heart Shaped herb. For instance, what do you think would have happened if M'Baku had access to the herb?
Moreover, this would cause the Wakandan society to break down as everybody would become a physically powerful (read superhuman) being. And as far as giving it to their military goes, Wakanda hasn't really been a conquesting country. They rely on secrecy and the force-field around their country to keep out unwanted visitors.
#Theological/Religious
Theological/Religious
It is mentioned in the movie that the herb is a gift from Bast - the Panther Goddess. It is meant for the worthiest warrior (the King). Giving it to everyone is tantamount to disrespecting and angering the goddess.
#Worthiness
Worthiness
Not everyone is worthy of consuming the herb. An unworthy recipient will have violent reaction to the herb which can be fatal. Although this wasn't really expounded upon in the movie, it has happened in the comics universe.
#Logistical
Logistical
At present, the Wakandans grow the Heart Shaped herb in a small garden of sorts since its consumption is restricted to a single individual. If the number of consumers grow exponentially to the entire population of the country, they will have to start farming it on a much larger scale. It would require a large work force to tend to the crops (remember how many women were in the garden tending to such a small bounty). This would also bring forth accountability issues as some of this crop could end up in foreign hands becoming a different kind of threat altogether.
At the end, the reason is a sum of these factors. Ultimately the Wakandan's philosophy, social structure and their religious belief regulates their use of the heart-shaped herb.