An Arizona medical marijuana company will become the largest holder of medical marijuana licenses in the country after an $850 million deal.