AI: move groups that need manufacture themselves.

That fixes the sea/mountain pathfinding issue.
A boat without cars cannot land directly to mountains, and factories nearby
can't send cars there.
AI: go to the nearest farm when running out of food.