Both carbs and acids will, plain water is fine
Personally I believe that if something is bad for your teeth it’s bad for your health period. Endurance athletes can get away with consuming carbs but I don’t think they are healthy, neither is fruit of course but you know that