All of the above. Each GPU usually uses 16 lanes (except for cryptominers), as do 100gb ethernet cards. 40gb cards seem to mostly be 8 lanes. With PCIe v6 having more bandwidth, some of these might use less lanes in the future, but that's up to the manufacturers. Basically, you can hang a ton of all sorts of I/O on one of these things.