I started a thread on immobilised vehicle a couple of years ago (now locked).
https://engx.theiet.org/f/discussions/28694/evs-immobilised-by-flat-batteries-or-breakdowns/125715
There definitely seems to be a problem as a French company has developed systems to extract/move vehicles with all wheels locked.
There is at least one system already in use in the UK:
Should it be a requirement for manufacturers to have some form of simple manual override to release the vehicle?
Having read the manual for my T Cross it is possible to release the DSG transmission lock by removing the gear lever gaiter and moving the locking detent with a screwdriver (supplied in the toolkit).
It is even more fun with a Tesla:
https://www.tesla.com/ownersmanual/modely/en_us/GUID-34181E3A-B4A7-4658-906A-38C6647B5664.html