This would have made for a great film to game adaptation back in the day
Imagine if it was open world and the game is split into 2 main parts.
First is the 'BEFORE THE ROBOTS ATTACK' aka you play as Will Smith under a time limit. You only have a certain amount of days (similar to the original Dead Rising but longer) to solve the whereabouts of Sonny, get as many people on your side as possible, weapons, supplies before the robots turn. It's all based around character choice so won't exactly follow events of film depending how much time it takes the player to complete the tasks before timer runs out.
Second part then is the 'AFTER THE ROBOTS ATTACK' aka city is under complete chaos. If you didn't find and get Sonny on your side well now you have to explore through the city in chaos looking for him while being attacked by hundreds of robots depending if you managed to convince enough people from police force and other locals as well as obtain weapons to fight against them.
An idea if you think it could have worked as its own standalone game?