Fintech startups have raised a record $1.27 billion by selling bitcoin and other cryptocurrencies through initial coin offerings (ICOs).