"Proterra, the manufacturer, has since filed for bankruptcy.”
—”It actually says the name of the mfg and that the company went bankrupt”
A performance bond and or payment retainage would not be unusual.
A portion of the payment is withheld until completion of the warranty.
That said, a small campaign donation to the right people, and that requirement can be left out of the contract.