The rack itself won't hold electrostatic charge, and if the devices themselves want to be grounded they can be grounded through their power supply
And wood isn't that easy to get to burn unless you turn it into small particles first
I’m more worried about heat dissipation though.
It's a shelf and in the past few years it has not yet failed at holding my books.
However, when the shelf becomes multiples of that, then people start putting hardcover volumes or laying the book flat and stacking them high within the shelf.
It won't necessarily fail, but it can substantially sag with heavier loads.
This is an issue for boardgammers who are after larger and heavier shelf spaces which is why the Kallax shelving is much preferred. I'll also note that Ivar shelving is solid wood rather than particleboard.