Rental car firms are offering temporary deals on electric cars, which they are selling after they lost value more quickly than expected.