DETROIT—General Motors posted a healthy $2.8 billion second-quarter profit Wednesday, but its cautious outlook for the rest of the year spooked investors.
The Detroit automaker made the strong profit despite a global shortage of computer chips that have forced it and other companies to temporarily close factories.