Craft 3 auto-creates sub-folders in assets. How can I prevent this?
My guess would be your Asset Indexes are out of sync.

If you go to Settings->Utilities in the Control Panel, there is one that says "Update Asset Indexes".  Click it, let it run and you might be prompted to resolve some out-of-sync indexes.  Once you do that, it should work normally.