AutoIT executes as a program on a local machine. Selenium is on another a browser automation tool which is developed using Javascript as its core. Executing local program through browser is beyond the scope of Javascript.
So, if you want to execute AutoIT program on the Grid machine, you will have to access that grid node using RDP in case of Windows or SSH in case of Linux and start the program.
Hope that answered your question.