NBA players are among the most marketable athletes on earth, and have long cashed in via individual endorsement deals. But for years, the league—not its stars—had control over group licensing deals that governed huge product categories like jerseys, trading cards and video games.