CPU brand choice doesn't really matter a lot.
In general, I'd say go with AMD if you can afford it, but otherwise Intel is fine. Intel has caught up slightly the past couple of years, but AMD APUs are still at the top in terms of what you get for the money. If you can't get an AMD laptop because of low stock/price or see an Intel laptop with more features you like, just go for that instead. I have an Intel laptop and the CPU worked fine on Linux (running Windows right now since driver support for other parts of the laptop like speakers and the display were a little shoddy because of how new it was).
I don't know if this still remains true (if not, please correct me), but AMD will be marginally better for productivity and programming because of the multi core performance. They are also slightly more efficient than Intel in terms of power usage, although I'm sure any laptop besides a gaming laptop will give you solid battery life in 2023.