Open AMD website and find annual report in investor relation section. It's public information.
Per CPU SKU? I don't think so.
Making some profit, but realistically you want fair prices too. I don't think that you would feel great if company made 100% profit margins. That's not yet a case, but in 2021 AMD made nearly 20% profit margin, a bit over 3 billion dollars. Meanwhile, even on good years like 2019, it only had around 5% profit margin. Same with nVidia too, huge profit margin growth during pandemic. It reached over 35% profit margins and that's just obscene. Even Apple "only" had 25% profit margin. This ridiculousness doesn't just end there. TSMC also had unusually high profit margin of over 35%. So by my rough calculation, 5800X3D could cost (at least have MSRP) as low as 235 dollars and still be profitable for AMD and TSMC. And that's still generous, you can go and investigate profit margins of silicon sellers and etc and it could be lower. And BTW those were profit margins, meaning that's what they make after investments, taxes, wages and other expenses. Even if they both want to make cozy profit, 5800X3D could have been priced at 300 USD and it would have been worth it for AMD and TSMC. But at this point both AMD and TSMC just scalp as much as they can. It's just ridiculous.
You really have no idea how things in this industry works, do you? So many things have over 100 percent profit margin.
20 percent profit margin is nothing
Some computer related parts and components have 30-60 percent margin. Asus has more margin than AMD if AMD only has 20 percent profit margin.
I guess you don't know, but I've been writing about the tech industry for over a decade and worked in it for even longer.
Your concerns here are not news, but you also don't seem to understand the rest of the supply chain. AMD most likely sells the CPU you mentioned for the price you mentioned, but then you have distributors that add 20% to that and retailers that add another 10-20% or more if they're really greedy. Don't forget things like import duties, tax etc. that ends up on top of all of that. So the retail price you see, has nothing to do with what a company charges for a product.
You should try running your own business for a while, I did and it's not easy. You need to make sure you have money for a bad month or three, so what you call greed are often companies that are making sure they have a buffer for when times aren't so great. I have personally sold things with a 40 percent profit margin, yet saved my customer for said product three times as much money. I created another solution for the same customer that set them back 1/10th of what they were paying, yet I made a tidy profit and my suppliers made a profit, everyone was happy.
There weren't any APUs at all for like a whole year, also various low end Ryzens were in constantly short supply. 3300X was a myth not a CPU. Even some high end chips were missing. If you wanted PC at all, going Intel was legitimate option, especially at budget.
Maybe where you live, but not where I live. I guess the channel in your part of the world didn't bother bringing them in.
To be fair, t took me two months of persistent searching and restock alert watching to be able to buy a Zen 3 CPU in the US. Couldn't get one until January, and even then I was hearing about people having problems snagging one up until february or march of 2021. So there was definitely a shortage there for a bit.
I think most of that was shipping related though, since from Q2 2020 pretty much anything and everything got stuck due to a bunch of stupid shipping related reasons. Meanwhile the costs went up from US$1,200 for a container to the US from Asia to US$12,000, which meant a lot of companies stopped shipping certain things. Airfreight didn't make sense in a lot of cases either, due to increased demand, which increased the costs. On top of that, there were some local shipping and production related issue with lockdowns and what not, which had a knock-on effect. This is what happens when most things are made somewhere else and the system put in place is so fragile that a weeks delay one end means months of delay the other end.