Anthony Joshua was involved in a fatal car crash in Nigeria that killed two people, with the former heavyweight champion taken to hospital.