Your machine is a distributed system. The firmware is what runs a specific node.
Yes they usually have DMA, shared busses, etc. That's an implementation detail.
A working IOMMU will stop both free- and non-feee firmware from rooting your device.
These concepts are orthogonal.