Global carmakers as diverse as Japan’s Nissan, Germany’s Mercedes Benz-maker Daimler, and British-based Aston Martin, in new warnings about sales slowdowns, showed the huge challenges facing the industry as they try to buy time to invest in the new generation of electric and self-driving cars.