There are way fewer things to maintain on a motorcycle than a car.
Besides normal lube, filters and tires, in the long run you will need wheel and steering bearings, shock seals, maybe front springs, you will wear out throttle and clutch cables
and in the engine eventually rings, bearings, and valve train chain and tensioners (if your engine does not have push rods).
If you ride a bike long enough to wear the engine out, its almost always easier to find a bike with a low mileage engine and swap it out, compared to the cost and time of rebuilding.
Now... compare that to a high mileage car: Tie rods, bushings, broken springs, alignments, A/C leaks and compressors, cabin blowers, wiper motors, broken windshields, windows and door locks that fail, head liners that fall apart, body and frame rust, exhaust pipes from front to back with swivels and flanges and tin mufflers and hangers, Ebrake cables, steel brake lines that rust out, fuel lines from rear to engine, automatic transmissions, $100 wheel bearing modules that fuse themselves into the swing arms, ball joints, power steering, water pumps, heater cores that leak coolant on the passengers feet, dashboard lights and switches that require you take the entire dash board out to replace, $1000 engine and "body" control modules that fail because the key fob circuit crapped out and wont let you start your perfectly good engine, fuel pumps buried inside the gas tank.
Have I missed anything? After 43 years of driving, I love my 2 motorcycles for their elegant simplicity, and I have really come to hate cars. Seriously considering getting an electric car like a used Nissan Leaf for commuting when the weather is too cold to ride on 2 wheels.
I will take a MC with 100,000 miles on it any day over a car with the same mileage.