A123 Systems Inc., the electric-car battery maker that filed for bankruptcy this week, had promising chemistry and marquee customers. What it couldn't overcome, even with government funding, were missteps in manufacturing.