why not hire remote?
Just hire remote is not an answer for a lot of companies.
If you think you can just do some programming job in fire and forget you are going to be surprised. You have to actually think about what task to give to remote team and what not. What areas are strong for who and divide work accordingly it is a lot of work in itself.
Last but not least, there is ton of legal stuff, compliance, what type of customers you are tending to. Some big corps own specific parts of code and sending something outside country could get you into trouble.