SpaceX is _not_ profitable by most reasonable measurements of accounting. If you discount rocket depreciation costs and R&D, then yeah its profitable from starlink revenue.
The entire space launch market is about $20B with multiple competitors in 2025. And by the most generous estimates it is going to be $80B by 2035. They can reuse the rockets as much as they like, the company isn’t worth $1.7T.