The UK has risen up the top 10 in a ranking of the world’s most attractive national markets for renewable energy investment, with offshore wind progress outweighing concerns over the potential impacts of Brexit.