Here is how Sonny get the nanites in Weekenders Adventures of I, Robot.

Computervoice: Unauthorized entry.

[An NS-5 comes to attack Soony but he destroyed it by throwing it into the security field.]

VIKI: I will not deactivate the security shield. Your actions are futile.

Sonny: Do you think that we are all made for a purpose? I do. [Observing his arm] Denser alloy. My father gave it to me. I think he wanted me to kill you.

[Sonny reaches through the security field and fills a vial of nanites. The plastic covering on his arm melts slightly, but the metal structure is unharmed as VIKI watches surprisedly. And the nanites are filled up]

VIKI: Security breached.

[the NS-5s start to climb toward the top of the building]

Spooner: How long is this going to take?

Calvin: Uhh... about six minutes.

Spooner: What if we didn't have six minutes?

Calvin: Then we'd have to find a way to climb down thirty stories and inject the nanites directly into her brain. Why?

Spooner: Because I seriously doubt that we have six minutes.

[Zooming out to see swarm of NS-5s climbing up the side of the building, and they break the ceiling glass]

Spooner: RAAAAAAAH!!!!!!!! [fires his gun at them] WE GOTTA GO!!!!!!