So from what I'm piecing together, this is a VR-intended rig for work, which needs to be small format for portability, and you need multiple PCI slots on the board for various cards?
You may have to jump over to an intel CPU to get what you want. An intel i5-8600k will give you very similar performance to the Ryzen 2700x, for a similar price. It sounds like you're in development work for VR, the 8600k will be enough to run VR games and do all the compiling you need. The main benefit to the Ryzen CPUs is multi-core performance, which doesn't really show in games anyways. The 8600k has a faster single-core speed at the base clock, so it'll be better for games. If you can afford it, get an 8700k. (Note, for the 8600k or 8700k, you will need to purchase your own cooler, as they do not come with stock coolers.)
The reason I say you need to switch to intel is because, quite simply, there aren't any mATX wifi boards available for ryzen (AM4), and that's the only way for you to get all the slots you need, excluding PCIe riser cards, which wouldn't fit in a mATX form factor anyways, and would split your bandwidth.
So back up top, you'll get the best performance from a Z370 board, but if you're trying to keep a budget, a B360 board will do well too. Don't get any H310 boards, as (from my understanding and limited research) they have reduced bandwidth to their PCIe lanes.
Sparing no expense, go for the MSI Z370 Gaming PRO AC, a mATX board with built-in wifi, and four PCIe lanes: two full-length and two small PCIe slots. Comes USB 3.1 slots in the back, as well as one USB 3.1 Type C. If you need to save a bit, maybe the EVGA Z370 Micro ATX.
Hope this helps!