Another (albeit, terrible) solution is HomePlug[0]. I once had broadband installed in an apartment and was provided with a couple cheap "ethernet over power" wallworts. I think the tech has improved, but they seemed to get a massive amount of interference (I think they capped out at like 65mbps?). I think I lost connections whenever the microwave was turned on.
[0] https://en.wikipedia.org/wiki/HomePlug
(edit: just noticed "ethernet over power" mentioned in another comment here. Same thing)