If you enter the AI cars (not spidertron), with mode = GREEN (control with cursor or commands),
then try to drive into the entrance of the factory — it teleports you into the factory floor (surface),
drop you (the driver) off the car, and car is locked.
You cannot mine the car — "you cannot mine the car with someone in it or if car in AI mode", even if you change this mode to manual (RED)! yes, you still can change the mode, but it's broken for AAI car.
Expected behavior:
- not broken car, you can mine it and/or you can quit the factory in the car.
or
- disable the factory entrance for players (drivers) in any AI cars.
P.S. An easy way to reproduce — use any plane from https://mods.factorio.com/mod/Aircraft and fly over the factory entrance.