BRUSSELS—A new European push to rein in tech giants through copyright legislation is sparking fierce debate and questions about whether the proposed law would accomplish its goals.

The fight pits big publishers, music companies and movie directors against internet giants including Facebook Inc. and Alphabet Inc.’s Google, as well as open-internet advocates and some small publishers.

It...