Amazon has been running at a loss or close to 0 profit by design.
They could be profitable if they wanted but the choose to use the revenue to expand their expanding business (e.g. building warehouses, buying a fleet of planes etc.) or fund other businesses (e.g. successful Kindle tablets or failed Kindle phones, or Alexa or opening physical bookstores or opening physical grocery stores).
When they run out of warehouses to build (or crazy ideas to invest in) their costs will drop and that will turn into profit in an instant.
And there's not much competition there (Walmart, maybe) for the kind of ecommerce + physical commerce combination so we can assume that Amazon will grow in that space and other players will, collectively, shrink.