However, before the device's arm fully extends, we see a defeated Chitauri Leviathan in the background, right next to the Golden Gate Bridge. These details all but confirm the scene takes place in ...
Thanos sent his third-favorite alien army, the Chitauri, to take over a planet he'd vastly underestimated. One of the problems with Marvel villains is the predictability of their strategy.