EU condemns attacks on Spanish premier amid criticism from tech figures