Depends on the bike, a low end bike...yes. It's hard for me to speak on complete bikes, as I haven't bought a prebuilt bike in over 7 years. 2 of my bike frames (more premium offerings) have a lifetime warranty, most parts have at least a 5 year warranty, short of some consumables like wear items.
And not simple as you put it. Lots of moving parts:

You have things made from aluminum, steel, stainless steel, titanium and brass inside. Cartridge roller bearings, needle bearings, springs, races, interference fits, clutches, axel, shell, rubber o-rings, all designed and manufactured to an insanely high tolerance and need to withstand a lot of abuse and diverse conditions. This has a 5 year warranty. Simpler things have longer timelines. It also isn't cheap I might add, but I've also read stories of people with 10 year old hubs, calling this particular manufacturer and saying they need a part, only to find its not currently stocked. Once they look up the serial number, they can identify the correct part, and have a one-off made to the exact tolerances that would have been used for that particular batch, and a rev of the design, and put it back in service within a couple weeks. Don't mean to get all bike geek on you, its just an example near and dear to me so I used it as an example.
Panasonic, in my case, has a reputation for producing the highest quality plasmas (at least at the time). You pay a premium. Buying a Panasonic shouldn't be an equal experience to buying and dealing with RCA, Hitachi, or some producer who competes strictly on cost. They should be able to justify longer warranties. This is just what they can get away with offering because complacent consumers have just accepted the standard one year warranty, and then they have wiped their hands of it. In industrial applications (I work for an industrial engineering and machinery supplier) we could never get away with warranties like that. And if we did, they would be very specific to certain components (ex: like in the example of the bike, wear items would be subject to different timelines than other components). On top of that, these things are also designed to be serviceable with readily available spare parts; which is a huge sore spot for me when it comes to consumer electronics; most aren't or cost a fortune to service.
Consumers shouldn't be put on the hook because components weren't adequately stress tested in an effort to rush to the market with the latest and greatest. If that risk is going to be made, it should be the manufacturer, not the consumer. The only extended warranty I was offered was from the retailer, which most of the time is just lining their pockets. But you're right, maybe if electronics continue down the path of unreliability, it will has to be a necessary evil of buying anything.