It can also replace an FPGA in certain cases where you need handle low latency I/O by using RP2040's Programmable IO [0]. (Not that it's the only microcontroller with this of kind abilities, there are others.)
[0]: https://www.cnx-software.com/2021/01/27/a-closer-look-at-ras...