California air regulators voted Thursday to approve stringent rules that would ban the sale of new gasoline cars by 2035 and set interim targets to phase the cars out.