Automakers such as Honda have been forced to slash production due a shortage of microchips and now face an increase in costs amid China’s COVID-19 curbs and the war in Ukraine.