I am unpersuaded as I have never heard of a company that collapsed and was replaced by foreign competition because they couldn't get enough H1Bs. But even if this is correct, the best that should get you is N visas for the next 2 years and then no more because you will have built the local talent pipeline you need by then.
Companies would collapse and fail, unless the government gave a massive corporate stimulus package (probably 4-5x the size of PPE).
> none of the skills you need, but I could easily be trained
It would take at least 1-2 years. At that point, an Israeli or Indian startup has taken market share and won. Welcome to cybersecurity and networking.