How do you deal with Hydro plant bot

They are literally kicking my ass. I wanna farm some mats but they acutally farmed me. yikes

I spent a lot of resources and only managed to bring down 2 of them. How do you deal with it effectively