Code:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Bytedance [NC]
RewriteRule .* - [F,L]
RewriteCond %{HTTP_USER_AGENT} Bytespider [NC]
RewriteRule .* - [F,L]
Add this to your htaccess to block them. Blocking by IP is not very effective as these China IPs are spawned faster than they can be blocked.

~Melanie