One example: building automation system, which primarily just needs internet access, but also in some specific cases, needs TCP connectivity to a solar inverter, for example.
Choice had to be made between WiFi and ethernet. Ethernet was chosen because:
(a) most customers (households, commercial, light industrial) have a router with at least one free ethernet port,
(b) Ethernet is more reliable than WiFi especially against configuration errors and changes
(c) No configuration is (usually) needed - just plug it in, router gives it an IP address with DHCP, and you have access. WiFi requires configuration procedure, which needs to be explained to the customer, and which also needs to be redone if new router is installed.
How? We ended up with Wiznet W6100. There were no large problems and it works fine. Was probably at least somewhat easier to integrate than software TCP/IP stacks.