Car makers will still have to ensure over a fifth of cars sold are electric from 2024, industry sources say.