The legalization of recreational marijuana use has led to the creation of dozens of publicly traded companies seeking to carve out a space in what may be a potentially large growth industry.