After befriending the Shi'ar the X-Men rebuilt the Danger Room with Shi'ar hard-light holographic technology.
It is suggested in the X-Men Official Guide that the objects in the Danger Room are holograms surrounded by force fields, supposedly confirmed in Astonishing X-Men when a student managed to kill himself by jumping from a holographic cliff face.