With vehicle-to-everything technology, cars can share real-time information with everything from other cars to pedestrians and traffic lights.