Glue is pretty common in phones, tablets and the very thinnest of laptops. It's part of the 'quest of thinness,' a mission in which Apple leads. The latest macbook air is so thin they had to reduce key displacement, and even the macbook pro lost the ethernet port because the bottom half needed to be thinner then the height of an RJ45 connector. When things get that thin, there just isn't enough material for a screw to grip securely: Glue is the only way to go. The Surface tablets do the same. It lets the manufacturers achieve extreme thinness, which is what many buyers desire - but it comes at the expense of repairability.
An extreme case is the macbook air battery: An enclosure on the battery would add too many fractional millimeters, so the cells are glued directly to the chassis. That means it's impossible to replace the chassis without also replacing the batteries, and vice versa: Any attempt to separate the two would at the very least destroy the batteries, and likely cause them to ignite. Sure enough, when Apple do a battery replacement on that model they replace the lower chassis too.
As electronics enthusiasts have been increasingly grumbling every year for the last two decades, modern electronics just aren't made to be repaired. The trend towards miniaturization has led to that. Commonplace components increasingly replaced with dedicated black-box chips impossible to replace, hand-solderable components turning into first surface-mount fiddleys, then BGA impossibilities, circuit boards growing in number of layers so circuits become impossible to even see, let alone follow. Functions that used to be done in understandable but bulky arrays of logic chips and analog components being replaced with inscrutable microcontrollers driven by secret firmware. It isn't just computers, it's everything more complex than a kitchen kettle.