On X370/XZ470, the first M.2 slot is PCIe 3.0 x4. The second M.2 slot will be PCIe 2.0 and it will share bandwidth with something. Usually one or more PCIe slots or SATA ports, but it depends on the motherboard - you need to read their user manuals to find out.
I believe the Crosshair VI is the only X370 board to have a secondary M.2 slot that is PCIe 3.0 x4 and that's because it shares bandwidth with the second GPU slot. So as long as you're only planning on ever running one GPU, that board would give you full M.2 speeds for both drives. There may be X470 boards that do this also.
I think ASUS Crosshair VI and VII are the only boards that do this configurations when doing my research for boards back then, well in the premium line-up of boards anyway. I am not sure in the mid section and lower tier priced boards.
if you want lots of Nvme drives just pick up a cheapish X399 board and a 1900x cost a little more but you get much more PCI lanes so can connect numerous devices without speed drop.