A challenging year in 2018 left many of Europe's automakers struggling to put a brave face on falling margins amid worries about the high cost of complying with tougher emissions rules while also investing in electric cars and autonomous driving technology.