General Motors and Ford are looking for new potential growth areas, including by seeking military contracts and getting into energy storage businesses.