The funds will finance its purchase of self-driving Origin vehicles starting in early 2023.