Here's a sample of what the UK could do to help (but not definitely) save itself in the event of a no-deal brexit:
1. Set corporation tax lower than any EU country.
2. Create generous startup investment vehicles that are open to EU startups who transfer their HQ to the UK.
3. Sign small limited set trade deals with every country they currently don't have deals with because of the EU - think pareto and don't worry about the small stuff right now.
4. Deregulate the finance industry even more with the caveat that they help with this transitory period.
5. Borrow money and invest massively in infrastructure ONLY creating jobs
6. Subsidise large internationally competitive UK companies in return for staying/playing ball.
7. Speak to the US about dissolving NATO and replacing it with something else that's cheaper and more focused now that the EU has talked about building their own army.
8. Aggressively push commonwealth trade.
9. Throw out lots of laws and regulations around corruption, bribery etc. to increase trade with countries with lots of money and few morals.
10. Deregulate "greenfield" housebuilding investment - the UK has a massive shortage of housing. There's a lot of jobs there and a lot of foreign investors who want to take their dirty money out of their own country.
11. Continue fracking and other dirty industries that make money but make life worse.
12. Change the law around retirement benefits being payable outside of the UK - would be unpopular but all those pensioners in Spain, France, Greece, Portugal etc. would have to move and spend their money in the UK or in Gibraltar.
13. Cut workers rights to make it a better place to hire workers for companies who move to the UK for say a 10-year transition period.
No doubt a lot of these wouldn't be straightforward and without a majority government I fully expect a lot of people to say "not possible" but the general idea is that almost all options (good and bad) are on the table because of a no-deal brexit.