Really, they have no sense, they are just a wwaste of space.
Maybe they can have some sense in a ship like Ent-D with a sauder section of 460 m, but just to connect stratetic point of the ship (bridge, engineering, officer quarters, shuttle bay)
Do they take up more space than stairs? Because that would be the alternative. They're probably quicker that stairs, ladders and winding corridors. So, yeah they make sense.
Data is not magic, it's possible
Androids are "magic". You know what's even more "magical" Androids/robots/AIs that are indistinguishable from humans