SHANGHAI — It was clear at the 2021 Shanghai auto show that the mood of China’s market has shifted from surviving the pandemic to intensifying competition. Luxury marques are rolling out a dazzling array of electric cars. Global brands unveiled new products aimed at a chance to capture market share.