Sports leagues cashing in on betting they once fought