Two people have been hospitalised after a tram was pushed off its tracks in a collision with a fire truck in Sydney’s CBD.