Scotland unveils investment in marine energy technology