Find more customers and ask them an advance payment or ask your current $3M pipeline for an advance payment.
Given you are almost dead and if don't have any options then go to your buyer and say to them unless you pay now there will never be a product. Maybe offer them some period of exclusivity in return for paying now.