Ripple Labs Inc. was ordered by a federal judge to pay a civil penalty of $125 million for selling ts XRP token to institutional investors, a fraction of what US regulators had sought in a lawsuit against the company.