General Motors completed an unusually quick exit from bankruptcy protection on Friday with ambitions of making money and building cars people are eager to buy.