General Motors has revealed it will be ending the robotaxi business aspect of Cruise and will be laying off nearly half of the workforce.