Many of the states that have legalized marijuana require that no part of that trade cross state borders (including growing it, packaging it, investing in it, etc.) (This may be true of all the states that have legalized it, but I'm not sure.)
So the Mexican cartels can neither sell the stuff they grow in Mexico in the states nor own the storefronts legally. Doesn't mean they can't do it illegally (they seem to be good at hiding their illegal activity, after all) but they can't go legit.