“Black boxes” are becoming more common in cars. They’re designed to record information about the vehicle at the time of an accident, and even give those behind the wheel a shot at lowering their insurance bills.