U.S. highway-safety regulators have opened an investigation into two accidents allegedly involving Ford Motor Co.’s BlueCruise advanced driver-assistance features, in which two Mustang Mach-Es collided with stationary vehicles in incidents that left three people dead.