I’ve been using a 2020 ASUS G14 (Ryzen 9 4900HS / RTX 2060) as my main machine for the past 3 years. WSL2, Docker, the catalogue of Windows apps you can run from years ago has been pretty good to me but not without the occasional blue screens, loud fans, temperatures hitting 90C, etc. Considering a 16 inch MBP.
However, I will say that you're not going to need a gaming laptop to get a good experience with Docker. My $300 Thinkpad idles under 30c with Docker open, mostly because I run Linux natively and don't use a dedicated GPU.
I'd say if your doing x86 dev, stay on amd. And then you get the bonus of the nvidia card for cuda for faster AI.
Or just use the mac as a front end dev, and put your containers in the cloud, and use the cloud for AI. More expensive, but get work to pay for it, or expense it.