The video-sharing platform's purchase forms part of its plan to allocate up to $20 million to investments in Bitcoin.