I mean the reason for rigging it for Dallas is pretty obvious. They gave the Lakers Luca Doncic for Anthony Davis, which is a pretty lopsided trade. The NBA benefits by having a top7 player on a big market team. And then Dallas, with I believe a 1.8% chance to land the #1 pick, does so, and gets generational talent Cooper Flagg.
As for the rest of the league, I believe a common misconception is that the 30 owners want to win a title more than generate revenue. They are business owners first (most of them anyways), they'd love to win a title, but generating money and building the product comes first. It's why a good dozen MLB teams don't care to spend money to try and put the best team on the field: it doesn't make sense in the books for them. I believe the best kept secret was that the Luca-to-LA trade meant that Dallas was going to be given the #1 pick, a reward for handing over a premier player to one of the biggest markets.