'The Amazing Spider-Man 2' features Jamie Foxx as Electro, who is both a villain and a fan