Spain ranks first in Europe for clinical trials and is attracting investment in life sciences, but faces intense competition including from China.