Over 4,000 Nissan Z cars pose an increased risk of injury to pedestrians during a collision due to a sensor issue.