Most EV / plug-in cars (Tesla, CMAX, Prius Plug-In) can be programmed using the car screen or phone app to charge at certain times - peak power pricing is common enough that it's an in demand feature.
I believe Tesla is also working with utilities, where they can provide charge cost via an API, and the vehicle can initiate charging (or stop charging) based on the current price of power.