GM said that it will retreat from the robotaxi business and stop funding its money-losing Cruise autonomous vehicle unit.