there should either be a dismount / unload waypoint for the chopper
OR
a certain key configuration like ALT + CTRL + DOUBLE LEFT CLICK make a unit dismount and move to a waypoint
another option is by giving the AI solider group a waypoint they will automatically check if they are in a vehicle and not as GUNNER/DRIVER/Commander
and then dismount and move