Many things don’t affect concrete in any way. But some things, like most acids, are too harsh for concrete and can cause it to deteriorate. The best way to protect against chemical damage is to use high quality concrete that is resistant to chemicals. After that, protective treatments can be used to keep concrete from absorbing corrosive substances.
There are many ways to improve concrete’s resistance to harmful chemicals: using a low water cement ratio, choosing the right type of cement (sulfate resistant cement), using the right aggregates, water, and air entrainment.