Limit Time Machine size in Big Sur
You can use the same strategy you would use with any of the other drive formats, namely creating a new partition.
Create a new APFS partition (aka container) with a single volume (as opposed to creating a new volume within an existing APFS container.) Time Machine will expand the volume such that it uses the entire container, but it cannot use any space not belonging to the container in which its volume resides.