5800X3D is still a gaming beast, and 5950X is best in slot for productivity, but make sure there's a bios update available for your motherboard for the cpu you plan to buy first
they do have plenty on cash to go around, and the issue in question concerns only a few products of the enthusiast market, which us only a fraction of their revenue. Most of their volume is in laptop chips, and highest margins probably in datacenter sector. Intel is not going anywhere don't you worry