European companies pioneered much of the technology used in renewables, but failed to capitalise. Have they left it too late to compete with China?