Liquid oxygen is not corrosive in the traditional sense. There is no electrochemical attack.
It can make many materials much easier to ignite. For a fire or explosion to occur, all three parts of the fire triangle must be present. Oxygen is one, fuel is another (metals, plastics, actual propellants) and an ignition source is the third.
An ignition source can be the traditional source, like spark, direct heat, or from particle impact (debris hitting a piece of metal or plastic and imparting enough energy to cause ignition), adiabatic compression (oxygen itself rapidly slowed by closing a valve, turning a corner), or others.
Metals and plastics all will burn to a certain extent depending on pressure, temperature, and chemical composition. Materials can be perfectly acceptable under some conditions and completely unusable under others. The higher the pressure/ temperature the more likely that an ignition event can occur.
In general, materials fabricated from copper are the best but tend to be lower in strength and not tolerant of high temperature. These include brass, copper, monel, toughmet. However, even these will burn in certain conditions, but due to the high thermal conductivity can cool rapidly. They also do not become brittle in cold temperatures. Many of these will not burn until pressures are near 10000 psi.
Nickel based alloys are the next likely material used, if off the shelf materials are being used. They are high in strength but can readily burn above 800 or so psi. Sometimes coatings are used to help with ignition, but Inconel 718, Inconel 625 and others can ignite at pressures less than 1000 psi.
Carbon steel is never used, as it's easily ignited and becomes brittle at these temperatures.
Materials like titanium can ignite even at room temperature and aren't used.
Material like raw aluminum can also ignite at low pressures, 25 psi. But add anodization and aluminum is often used on the low pressure suction side of the pump.
On the high pressure discharge side aluminum is not typically used as risk is too great of an issue.
Many rocket companies develop custom alloys to deal with issues.
Like all things in engineering, there is not just one material that will work, everything is configuration dependent.