Yes the purpose of a company is to make money, but not making money in the short term doesn't mean it's not a company.
Not all business are inherently self-sustaining in a short time period, many small business (including shop, restaurants, etc) will operate at a loss in their first year.
There's plenty of business that take a while to return a profit, that doesn't make them any less businesses just because they're not the type of business that you'd like to run.