They locate inside the UK because of our expertise in those areas (which is why most F1 teams are based here).
We will still be inside a free European trade area because the de facto leaders of the EU, Germany, will make sure we are. We're too important to THEIR economy to freeze us out.