California would ban the sale of new cars and trucks powered by fossil fuels in 2040 under legislation introduced Wednesday in the