Hypothetically... they write a new Salesforce for themselves.
... and then Salesforce hits them with any number of patent claims. https://insights.greyb.com/salesforce-patents/
One could argue if software patents are good or bad... they're still a fact of "those patents exist and protect functionality." If you're trying to copy the functionality feature for feature, you're likely to step on one.
... and then Salesforce layers get to find out how deep your pockets go for willful infringement.