Investment firms may have to move thousands of jobs to the European Union after regulators said “letterbox entities” nominally based in the EU but in reality run from abroad will no longer be tolerated, lawyers and advisers say.