> How long can it take it build machines that produce masks?
Depends on the masks. Surgical masks are material-constrained. N95 masks require manufacturing using specialized and very precise machines, which are themselves built in... guess where. China. This pandemic hit the world in precisely the best way to disrupt the global supply chains.