The EV startup has been facing rapid cash burn and a struggle to secure funding amid uncertain demand.