General Motors lost $806 million and burned through billions of dollars of cash in the second quarter in what is expected to be the worst three months of the year for the auto industry as the coronavirus pandemic shuttered factories and devastated sales.