The deal indicates that the South Korean tech giant will be a major part of the US carrier's 5G rollout.