Toyota shaves costs ahead of fuel-cell entry