If you respect the open source license , you're free to use the Arduino code in products. We offer a licensing scheme for companies that want to license the hardware designs to use in proprietary products.
The IDE is there, it's free, it's more powerful than ever and it supports any architecture the community wants to work on. Free, no royalties no licenses etc
But if anyone tries to ship arduino code in a commercial product, they'll want royalties.
Or if any microcontroller maker wants to be supported by the ecosystem, they'll also want royalties.
And the royalty levels will be low because there are competing ecosystems of tools - but across such a huge market of embedded commercial electronics, I think they'll still do very well.