There was no hysteria. There is standard decision-making with uncertainty. Early in the pandemic, ramping up ventilator, mask, and other production made 100% sense. That's a $1 billion hedge to help with what's turning out to be a multi-trillion dollar problem.
Indeed, it's a no-brainer decision. The expected ROI of a $1 billion ventilator order in April was astronomically high.
Conversely, cancelling the contract makes sense too, now that ventilators don't seem to be the solution. Generally, when a contract is cancelled, you pay for costs already incurred, so it's generally not unfair to do so.