The company behind a global recall of sleep apnea machines says it will stop selling the devices in the U.S., under a tentative agreement with regulators.