Amazon isn't unprofitable, they just reinvest everything back into developing the company. Politicians just failed to take that scenario into account when designing the tax laws.
I do however agree with you. There is a ton of companies that only survive because investors keep pumping money into them. If you can't turn a profit after ten years, then maybe your company shouldn't exist.
If it didn't make net profit as GP suggests, it's unprofitable. If it did but shuffled the money via subsidiaries to present that it didn't, it's called tax evasion indeed.
Why is reinvesting profits a bad thing. Reinvesting 1Billion into the company is more beneficial to society than paying tax on that 1 billion. Creating thousands of new jobs is much better than however the government would spend the 200M they collect in taxes.