DETROIT - General Motors is selling its stake in a battery-making joint venture to Texaco Inc. in hopes that an energy company can lower the costs of nickel-metal-hydride batteries. GM still plans to buy batteries for future electric and hybrid vehicles from GM-Ovonic LLC, a 6-year-old venture with Ovonic Battery Co.