Gavin Newsom’s plan sets up another potential clash with the carmaker’s chief Elon Musk