EV automakers like Lucid and Rivian are dealing with staggering costs.