Police in Spain have launched a homicide investigation into the on-pitch collision that led to the death of a Spanish footballer.