I have the same problem here, (Raspberry pi 4 model B 2GB variant) but I did have it working a couple times
it worked for a little while , a few reboots and still working , then not working for weeks no matter how many times I reboot, then I
went out and bought the official power supply and it worked again, I thought ok maybe that was the problem
rebooted like 6 times , still working all good, come back a couple of days later and no wifi again, will not connect
this must be a software issue or it is just that the rpi 4 is a complete POS
completely unreliable , either due to the buggy batocera OS or crappy hardware, (pi 4) not sure which one it is but this is definitely an issue and I see a lot of other people like me with no answers , the problem is not being addressed
though mine does work sometimes, just when you think you got it fixed it will not work again for weeks for seemingly no reason at all.