SpaceX isn't publicly traded, it already has no obligation to maximize profits. It is free to follow whichever goals Musk and the SpaceX investors set for the company.
So far those goals mostly involve building cash cows in service of financing even higher goals. I'm not sure if that goal is still Mars, but whatever it is they are reinvesting everything and regularly take in more investments