A long-running dispute over whether Destiny 2 copied a writer's sci-fi stories has ended.