First and foremost, the stock market is not the economy. Second, stocks are primarily traded on their expected future value, not current profits, hence why companies like Tesla have a price to earnings ratio that is absurd.
Still doesn't explain the crazy valuation