Before RPi became really popular and the 4 came out, I used BeagleBoard, PandaBoard, Aria G25, Gumstix, Cubieboard, i.MX devkits, and spun custom boards using Marvell, TI, Freescale (now NXP), and Qualcomm CPUs - I don't remember any of them having as good a BSP or being as easy to develop with as the RPi was five years ago. Maybe my memory is (very) faulty but the experience was leagues worse. PTSD-inducing level of worse. I wasted weeks or months on every major project shaving silicon yaks that should have been handled by the vendor (and is now handled by the RPi community).
The modern i.MX toolchain may now be comparable many years later but I've long since given up on everything else since CM4 came out in 2020.
My understanding is that they lost the sweetheart deal after they pivoted to supporting commercial, right in time for the pandemic supply crunch.