The resolution of the dispute, which was handled through arbitration, comes almost two years after Musk acquired Twitter.