Within a decade, declining prices of solar systems and batteries combined with the rise of electric vehicles may start sending internal combustion engines to the junk yard, analysts say.

"By 2020, shrinking battery and solar cost will make EVs (electric vehicles) in the mass segments the cheaper alternative over a car life cycle in most European markets," UBS analysts said in a note last week.