iPhone XS Max stuck in bootloop, cannot get into recovery
this honestly sounds like your device's drive got corrupted entirely. you'd be better to send it to Apple for repair, i don't think there's anything an end-user can do without voiding any warranties or whatnot at best, destroying the device accidentally at worst.