Computers never got profitable. They just made the alternative infeasible.
Also, if you believe Amazon accounting, e-commerce only very recently got somewhat profitable.
Yeah, like computers and mobile phones did. Things that have utility, even if not immediate or initially obvious, don't fizzle out.