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.
SpaceX reuses its boosters 20+ times. Surely the depreciation is tiny when compared to the revenue of 60M+ per launch?
Between launches alone, Starlink and Starshield, SpaceX will likely be a money printing machine for a long time.
They haven't released a 10k yet so we don't know, but from what I understand SpaceX+X.ai is not GAAP profitable.