Israel has warned hundreds of Gaza-bound activists, who include the Swedish campaigner Greta Thunberg, to turn back.