Microsoft Corp. on late Wednesday warned investors that it will be taking a $800 million charge related to its investment in General Motors Co.’s Cruise robotaxi unit. Microsoft MSFT and others ...