Commodity markets are highly volatile and risky for individual investors. That's why they are referred to as speculators, rather than investors.
For society/the economy, commodity markets serve a needed function, they help with price discovery for markets that have large numbers of producers and users (i.e. corn, oil). They also allow producers and users to take hedge positions in the markets to manage their risk.