I think both of these companies could be successful, profitable small software shops if they stayed focused and lean. But they raise money and need to shoot for the moon, and it becomes all or nothing, and that's how they end up in trouble.
I understand that Dropbox feels they need to add features to compete, especially as they compete with Google and OneDrive, which both bundle a bunch of extra free stuff. But that should never be at the cost of your core product. Dropbox purchased zulip, and then dropped it. They also launched paper. Not sure anyone uses that.