Embark, which calls itself the oldest self-driving truck firm in the U.S., said the proceeds were expected to fund its business through 2024.