Top-flight survival remains in West Ham's hands after some dramatic moments at the London Stadium on Saturday.