Hard disagree here x100. Investing in GPUs in the time when Nvidia and AMD started to gouge the market is actually the best decision Intel did in recent times. It's the piece of semiconductor with some of the highest margins in the business and they already own a lot of the patents and IP building blocks to make it happen.
The only stupid thing they did was not getting into GPUs earlier so they would already be on the market during the pandemic GPU shortage and AI boom.