Honestly, Why not get both? If you scope the used\classified listings I'm sure you can get some great deals. This COVID stuff has jacked up prices people post things for, but you still see occasional things come up for cheap.
Why get both? Because at this point you need to discover what your "thing" is -- what feels best for you, what you most enjoy the sound and feel of. Once you know, and something feels "right", then you can go out and splurge on some new pro gear eventually.
Look at it this way: You can get something used, affordable, test the waters, and then if you really don't like one of them then resell them at cost or $10 cheaper or something. Consider it a 'used rental' of sorts.
I picked up both (MIDI keyboard and electric guitar), from classified sites -- Keyboard ran me I think $40, the Guitar w/Amp package (normally over $300) I scored for $90. I ended up loving both, but I bought knowing full well I could have resold the guitar no problem for even more than I got it for.
No regrets here!