Israeli forces have killed at least 18 Palestinians during mass protests along the Gaza border, casting a cloud over the inauguration of the new US embassy in Jerusalem.