recently i have same problem but it is from my keyboard that ants keep on popping out what i did is sprayed alcohol and let it dry y using blower but of course i unplugged it first and now it seems that they are all gone (hope so)
try to let technician open your lappy there might be more of them inside.
Even it is from my keyboard. They keep on popping in dozens from my keyboard and than again hop back in before I can blow them. I literally blew away 40-50 ants but what I think is there are hundreds of them inside.
I'm just concerned if any pesticides/alcohol might damage my board.
.
No it will not Harm your computer board if you will only use pure alcohol and actually this advice i also get from a friend in past that has the same problem thats why i can assure you that this is safer than anything .
better do it now or they will multiply inside your Lappy and damage your laptop before you cleaned them up.