American factories will be told to switch to making medical equipment to battle the coronavirus pandemic, with Donald Trump saying America is now in a fight with “an invisible enemy”.