Major League Baseball (MLB) has become the first of the major US sports leagues to sign a deal with a cannabinoid company.