The agreement means Nike will create the on-court uniforms as well as fan apparel for both leagues.