Thin panels installed on existing roads could be used to power streetlights and homes within five years.