The AHL is now organized such that they have one team for each pro team. 17 are owned by the NHL affiliate, 13 are not.
I don't have good data on this, but my understanding is that most, if not all, AHL teams lose money. For the NHL owned teams, it is a cost of doing business. For others, the teams do their best but struggle financially.
If it were my money going into an AHL team, I would be consolidating the expenses by blending facilities, salaries, expenses, etc. But if someone in Salt Lake City or Fresno is willing to take the risk for me, then sure, place the team anywhere. When I'm a billionaire and get the 32nd NHL team, I'll let you know how it works out.