EU spent $387B on research and development in 2021