It's a protection from skateboarders or anti-skateboarding devices. They are being installed so that skateboarders wouldn't damage urban elements that are not designed for this purpose.
Some of them will learn this the hard way.