Car makers are racing to save children from being trapped in hot vehicles, and electric cars are leading the charge.