Confined space is probably the main reason the power bricks can be so big. Think of what would happen if you wrapped even a 5W power brick in insulation and used it continuously for several hours or maybe even days.
I've seen flat can LED lights like the one in the picture still fail easily after just a few months, probably from overheating.
__________________
|