Obama says U.S. couldn't 'walk away' from auto jobs