For better or for worse, this technology isn't going away any more than search engines, smartphones, or social media have gone away.
Computers never got profitable. They just made the alternative infeasible.
Also, if you believe Amazon accounting, e-commerce only very recently got somewhat profitable.