You can easily duplicate the hardware these days, or even do everything in software but it seems that high quality CAS software is pretty hard to make.
TI and Mathlab pretty much got a monopoly on that as it seems I haven't seen a single off-brand graphical calculator that actually worked.
Not even sure if anyone besides TI and to lesser extent HP are even making graphical calculators these days (HP ones are (or at least were) substantially more expensive.
So when you have a market monopoly and a product with very little obsolescence (graphical calculators can easily last 10-15 years these days) there's nothing to drive the market down.
The TI-8X series is also one of the few "certified" ones and they also have localized versions that disable certain features for countries that limit the use of "smart calculators" but don't ban them outright.
The company wants its return to be as large as possible. Speaking in more sensible terms, they want to get as much money as they can regardless of whether they've reached a magic internal accounting threshold or not. R&D just has no relevance at all to product pricing.
While there are many people who couldn't afford the calculator. There are also a lot people who could swing a $300 scooter but not afford a well maintained car. They would certainly enjoy to cut some time off their commute.