Coinbase Global Inc. said hackers bribed contractors or employees outside the US to steal sensitive customer data and demanded a $20 million ransom, in one of the most high-profile security breaches of a crypto trading platform.