Optus has signed a three-year partnership with the NBL and WNBL, backing fan engagement and growth of Australian basketball.