The Scottish government is giving five wave- and tidal-energy developers 7.9 million pounds ($12.5 million) to develop prototypes off the country's coast.