Intercontinental Exchange Inc. is acquiring a stake in OKX in a deal that values the cryptocurrency exchange operator at $25 billion.