The National Basketball Association has signed a wide-ranging, $100 million deal with Samsung Electronics Co. to bring the South Korean company's technology courtside at its games, according to people familiar with the matter, a strategic move for two organizations looking to expand their global reach.