Both can use them if close enough.
This weekend I tried to get an M3 onto a vehicle base that was being defended by Wirblewinds. I went right past one by the maproom and, as he turned to try to kill me I let my troops go to distract him then opened up on him with my .50 cal. I took out his turret, then killed him but he had damaged me and I was sitting by the trees behind the maproom.
The next thing I knew there were supplies. I gobbled up 10 in a row then there were more so I gobbled up 10 more. I didn't want to move as long as I could keep gobbling up their supplies. Finally another Wirble got wise and came and killed me.