Hub gear, Marathon Plus tyres, don't store it outside, and just drop it into your local bike shop every ~2000 miles or so as the brake pads get worn out.
[1]: I bought a mid-price mountain bike, nothing fancy, in the era before rear suspension was common. It got stolen within a year. I was part of my parents' grandfathered insurance plan that had unbelievably good coverage for bicycle theft. Insurance replaced the bike with one that had all the same features. Not price matching, matching checklist features. Number of gears, etc. It ended up having some extra features, too, because that was what was in the inventory. After that bike was also stolen within a year, they replaced that with one that had all the features that were in the second one. Plus disc brakes, plus many others, because nothing else fulfilled the checklist. The price of my bike more than doubled in two years. No, you can't get that insurance anymore.
Nothing turns more people away from riding bikes than entry-level bikes. Which is unfortunate. Yes, they're constantly needing work and adjustment and never quite shift or brake well.
It doesn't have to be that way though. Mid to top tier components are very reliable and work so much better, even when old. It makes a night and day difference in how pleasant it is to ride.
And I know it's not exactly fair but I can't stop comparing bikes to cars. The amount and preciousness of the materials, the level of stress, the complexity of construction, how long it can go before service, and so on, and damnit, I can't shake the feeling that 1% of the cost of a car should get a really reliable and near-zero-maintenance bike. But no, $200 won't do it. $300 probably won't, even. Not for a new bike, anyway.
These days more like 5K to 10K+ unfortunately.
The trick is buying used. But for someone new to cycling, it's easy to get scammed into a bad deal when buying used, so that's not a great solution either.
If you're familiar enough with the components to evaluate them on a used bike, great deals can be had. My first mountain bike (which I still have) was a very expensive model when new (S-Works, which is the Specialized top of the line) that I got for cheap when it was 5-6 years old. It's almost 20 years old now and still everything works perfectly, buttery smooth shifting, etc.