DETROIT -- General Motors' plan to invest $5 billion in a family of technology-rich small cars reflects the industry's changing attitudes toward opportunities in emerging markets, where consumers and regulators are increasingly demanding more advanced vehicles.