Private, entirely for profit companies, have recently answered large government tenders in the middle east to sell power at the equivalent of $0.05 USD per kWh. They are fairly confident that they can make a profit doing this, even with the cost to incur the long term debt to privately build a massive solar power plant.
The cumulative amount of solar power being produced within Germany right now is a good example of its practical use in a less sunny climate.
In terms of placing things in the ocean, hiring the sort of offshore work vessel with a built-in crane can go and place or remove multi ton apparatus is very costly. Maritime construction for things like laying coastal submarine cable, building piers and docks and marinas, setting and maintaining marker buoys isn't cheap.
Laying and maintaining HV AC or DC submarine cables in salt water is also particularly known to be expensive. Hiring a 36'-42' aluminum landing craft for coastal construction projects, with fuel and crew can be easily $500 an hour.
Labor and vehicle costs are greatly increased compared to doing things on dry land.