What will determine the price of a stock or a business ten years from now?
a stock price will ultimately be determined by whatever investors are willing to pay for it.
In a perfect market a stock's price will accurately reflect the value of the company. A company's value is the book-value of the company (how much everything the company owns is worth minus all it's debt obligations/liabilities etc.) plus an estimation of its future earnings.
In the short term a stock's price can deviate between these (become "overvalued" or "undervalued) because investors are willing to pay more or less for that company than they otherwise should. Generally this happens because of hype or fear - because we overestimate future earnings or assume challenges to the business which don't materialize. Almost always these imperfections get corrected over time.