The Japanese companies are grappling with fast-growing Chinese rivals and sluggish consumer demand for EVs