A “competitiveness crisis” is raising alarms for officials and business leaders in the European Union, where investment, income and productivity are lagging.