If you really want it to stop, then you'd need capitalism to stop. Til then, its an opportunity and everyone is going to do what they gotta do to get some paper.
As much as fighters hate to do this, the hobbyists are the ones who pay the bills. Creating a gym that only caters to your competition team is a guarantee way to go bankrupt within a year. Seen this happen numerous times for different disciples (MMA, MT, BJJ, TKD); There needs to be a balance, with most of the gym having hobbyists. They're the ones who pay the bills and ultimately keep your doors open. This includes the occasional competitor who wants to challenge themselves, but not really all about the pro life for various reasons (work, family, etc). My guess is to follow the same plan that some of the larger MMA gyms have. Team Alpha Male, Tri-star, Rofus, all are known to be big name gyms, yet their programs for hobbyists are huge, which helps kept the doors open. People usually don't think put 2 + 2 with them and hobbysists because its not sexy, but its really a "hidden" market the fight game doesn't really talk about. The attention in the media is all about the fighters.
Dojo challenges wouldn't stop this "cancer" either. Say this happens, maybe in the beginning you'll have a tough school going around making waves "stealing" students and becoming monopoly of sorts by iron fisted type methods, like back in the day when the Gracies were going around going so. In a few months time (or year, depending on how fast they shift), you'll see rates going through the roof, new mandatory clothing, and more incentives to keep the cash flow will occur.
TLDR; gyms that are "fighter factories" are guaranteed to go bankrupt in a short time. Mcjodo-ism is not going away unless capitalism magically disappears.