If you're using Logic Pro (GarageBand might do it too): you can use the Flex Pitch feature [1] to generate MIDI data from your Audio track, then use the Score Editor [2] to view the generated MIDI track as sheet music. Select "Bass Guitar" in the "Style" setting, and you should get bass tabs that you can polish using the editor.
You can use other tools for any step, ie. use Flex Pitch, but use another software to create MIDI, and keep Logic for the MIDI to Tabs conversion.
This works well enough for me with a clean track and proper muting. It'll get confused as soon as you play multiple notes, do slides/pull offs or use a pick.
[1] https://support.apple.com/guide/logicpro/create-midi-from-au...
[2] https://support.apple.com/guide/logicpro/view-music-notation...