Optical can be quite expensive though these boards aren't exactly cheap (yet).
But here's sort of an example of what I'm talking about.
https://www.amazon.com/Gigabit-Ethernet-Converter-1000Base-L...
So the cost is pretty low if you wanted to terminate with these (these things aren't too loved in networking circles, but I can vouch that they do work), then the biggest difference is the cost of bulk cable - fiber vs copper. I assume the cost of labor to run it is essentially the same.
The main tradeoffs I see are that you can run power over catX cable (though probably not 1km?) but single mode fiber seems to be indefinitely able to upgrade bandwidth; I'm told that old installations from the 90's are still used and are pushing 100's of gigabits with newer optics attached to them.
Like I said, I'm fairly new to this having started a job where I have to talk to datacenter people about this sort of thing, so I'm learning a bit as I go.
The world is not the same as it was 15 years ago :)
Bandwidth isn't the only consideration: you can deliver power over copper:
They make plenty of fiber+power in single cable, because the fiber is unaffected by the power.
Running 1km of slow, expensive, single-pair cable to run low-data rate + power, vs fiber+power cable saves you essentially one connector. For very high cost - in money and loss of bandwidth.
Plus 10base-t1l is not common, so the price of equipment is high as well.
I’m running 10G on single mode 100 ft jumpers to a few computers in the house and that’s cheap too. SFP are $35 but the NIC are more.