Investors are fleeing riskier assets from tech stocks to cryptocurrencies as the Federal Reserve weighs whether to launch a U.S. digital currency.