Hybrid and electric cars have come of age and are being embraced by local and national government initiatives.