Device: T-Mobile "Revvlry" branded version of the Motorola G7+.
ROM: https://doc.e.foundation/devices/lake, which shows up in the phone settings as Android 10.
Rooted: Yes. I'm using Termux which has superuser rights in Magisk, and su gets me #.
Following the instructions in these two questions, I found hostapd in /vendor/bin/hw and attempted to rename or remove it. It disappears momentarily the first time I list the files after deleting, but if I exit the terminal and then return and list again it reappears. Same with renaming, it appears under the new name and then reverts. The remount step also causes hostapd to reappear even though it gives an error - "mount: '/dev/block/dm-0'->'/vendor': I/0 error".
I've found these answers which explain how Android will restore system files in root from a boot image, but I did not need to reboot my device to make hostapd reappear. Also, the first question I linked says that they were able to delete/rename hostapd successfully.