For a while, didn't Amazon do the same? They basically ran a loss with Amazon retail but profits on AWS, until they spun off?
So yes, this is fairly common with conglomerates, (Amazon sold diapers at a loss to put diapers.com out of business). And in fact, this tactic is a target for anti-trust laws where they exist.
Until they sold all their compute to anthropic, Ai was the boat anchor.
No way in hell is Twitter making a lick of profit.