Plant shutdowns during the pandemic and a shortage of microchips have caused inventories to fall, but automakers hope to avoid returning to levels that forced heavy discounting.