The new Spider-Man film surpassed a record set by “Star Wars: The Force Awakens,” according to its distributor Sony.