At least in Europe, offshore wind farms (which are more expensive than on shore) don't need any subsidies to be profitable. The turning point was around 2018
Recently (a year-18 months ago?) there were big headlines in the UK when no-one bid for a batch of offshore farms because the guaranteed electricity price offered by the government was too low for investors.