Four people were injured after a transformer exploded, leading to a building, which housed many students, collapsing in Doonfontein, Johannesburg.