Pharmaceutical companies are intrigued by the immense and growing medical marijuana market but cannot figure a way to corner it.