A court in Tokyo has ruled that Samsung Electronics did not infringe on patents held by Apple, which is the…