Nintendo ended an agreement with Samsung Electronics to produce the main chips for its new Switch 2 gaming panel.