The NBA wants a 1% cut of all wagers (an "integrity fee") in a push for legalized sports betting. Former commissioner David Stern was against legalized sports betting and current commssioner Adam Silver changed that stance in a 2014 NYT op-ed.
A quote from Silver in the Yahoo! article states there is a great deal of 'in-play' betting - quarter scores and other outcomes not requiring the whole game - and thus there is more engagement with the game. Thus legalizing betting should be a rational step.
Personally it reinforces my belief that NBA management is far more sophisticated than their NFL counterparts in willing to push boundaries (tech, global, etc.). I could see the NBA setting up some sort of NBA League Pass/NFL Red Zone hybrid channel that allows you to bet in-game from your own home on pretty much anything. It would be similar to how sports leagues try to resell tickets on their own exchanges instead of a StubHub.
That said, this still feels odd to me. The NBA has its reputation with gambling due to Donaghy and the NBA taking revenue from unlikely betting outcomes when they control all parts of the process (e.g. refs) seems like a conflict of interest waiting to happen. Maybe I'm old though and not woke enough.