A federal judge has imposed a $125 million civil penalty on Ripple Labs, concluding a significant legal battle with the U.S.