You can still do cardio and maintain muscle mass. Sprinting is better than running miles and miles.
But, if you want to run marathons or triathlons, google "alex viada the Hybrid Athlete." He's a bodybuilder who maintains his muscle mass and strength while also doing triathlons. He has a background in biochemistry and works in pharmaceuticals. At least he used to. I'm not sure if he still does.