Actually there are systems that talk to vehicles from the roadside, sending info such as when the lights will change. Although I doubt you'll see vehicle to vehicle systems unless they're in closed CAV (Connected Autonomous Vehicle) spaces like airports or closed loops (at least it'll be a while until it's a generally used thing on the roads of the future, if ever)