Despite crisis, automakers kept investing