How long does it take to build PCR machines? Why can't we build 100,000 of them (or whatever the appropriate number is)?
If it costs tens of billion dollars, so be it. That's far cheaper than shutting the economy for months at time.
This is essentially a war-time effort we are in. I believe government has the authority to mandate that companies with relevant manufacturing capability build and sell these machines in order to combat the virus.