The Amazon comparison is terrible. They were still losing money! Whether they are doing it by giving something away for free or by selling on ridiculously tight margins they are still losing money!
Saying they're the same thing is like saying that the U.S. and Afghanistan are the same, because they both had elections. Well, true, but in one place the elections were not rigged, and in the other there's a good chance they were. "They still had an election!" of course, but there are significant practical differences.
They had a working revenue stream, which meant that when they'd reached a point of sufficient growth, they had a slew of things they could reasonably adjust to achieve profitability.
Twitter has no revenue stream. Twitter can't change prices or restrict spending to become profitable - it has no prices! They would have to actually create a business in order to become profitable.