A selloff in risker assets like stocks swept up cryptocurrencies as concerns over inflation and high oil prices rattle jittery investors.