The Amazing Spider-Man 2 became a cautionary tale of cinematic universe ambition, leaked emails, and executive overreach.