Here is my take, soon to be corrected by the experts
AI vehicles will not move into a hex that prevents bonus
movement and costs more than 1AP,unless the Vehicle is executing a Low Risk Move or executing a Command Order Card (since they do not require AP).
Ex: Tanks will move up hills and into smoke, but not into woods or
buildings, unless with a Low Risk move or Command Order.
A Tank will not move into a Stone Building hex, any other hex that could potentially immobilize it, or a Mined hex, unless ordered to
do so in the Mission.
The Stone building option is not an option for AI tracked vehicles. Although it looks like there may be some Mission orders that override that; perhaps moving closer to an objective hex.
The wooden building option is possible if it met the conditions below
a) was the last hex to be entered in a bonus move (so not preventing bonus movement)
b) was on a Command card (so does not cost more than 1 APs)