...but before a no-deal Brexit became a serious likelihood. Now that the investment is made, they have to sound upbeat and hope for a deal, of course.
The thing is, the goalposts keep being moved by the Impossiblists in the ERG. At the time of the referendum, many Brexiters painted a picture of the UK remaining in a customs union and closely aligned with the EU. See for example the views of Daniel Hannan, a prominent pro-Brexit MEP, who envisaged a Norway type of arrangement. Subsequently, however, the Impossiblists (The Moggatollah, Dumcnut-S**t, Peter Bonehead etc) have got the ratchet going, to rewrite history, such that they now maintain people voted to get out of every single relationship with the EU that exists and are quite happy to suffer economically for the privilege. Whereas at the time of the referendum, the promise was quite different: namely that the UK would become richer by leaving: £350m/week extra for the NHS and so forth.
In 2017, a free trade arrangement that kept frictionless borders seemed so obviously the way forward that Toyota would have made the investment expecting that outcome. May even gave private assurances to these companies, along these lines. But now it can be seen these assurances were empty and that May is a prisoner of the Impossibilists, who actively seek a crash-out if they do not get exactly what they want.