Despite years of feuding with the tech founder, California may have to rely on the Tesla Semi to keep its clean transportation ambitions alive.