It seems like maybe you're saying that the revenues, and therefore the profits, don't count here because they're not part of economic growth, but just part of the ongoing economic activity. But what determines the P/E ratio, which is to say the return on capital (as a reciprocal), across the market? What keeps investors from bidding the market cap of the company up from ten times earnings to a hundred, a thousand, or ten thousand times earnings? It's the availability of other investments that they expect to grow in value at a higher (risk-adjusted) rate. If you can get a 16% annual return on your investment by buying solar panels instead of stocks, then the guy who does that will have 16% more money to invest in more solar panels every year, until either he bids the price of solar panels up (due to limited manufacturing capacity) or he bids the price of electricity down (due to limited transmission grids or electrical demand). The first of those is already happening; the second one should start happening in about 2024, earlier in some areas.
Now, you could argue that there's a difference between this solar panel maniac guy spending 16% of his capital base in solar panels every year, accumulating more and more solar panels and selling the electricity from them to buy more, and GDP growth, because the solar panel maniac is accumulating a stock, while what the GDP measures is a flow.
But note that by the hypothesis that the maniac is investing to get some relatively inflexible percentage return on his investment, he receives a flow of earnings that is proportional to that investment. And that flow is part of the GDP.