Getting all nanomachines is easier as it sounds. The only tricky part is, that you need to get all of them during one playthrough. There are a total of 6 nanomachines that can be collected. The rest needs to be bought from shopping terminals. Each chapter has its own nanomachines. Make sure you save some money to buy them. There is no way to go back if you missed a nanomachine!