Well, I mean, I don't think it will shoot you. But this Portal turret does everything but that—it even has a working motion detector! We'd already seen this little guy in action before, but this official video from Valve is a lot cooler.
Okay, time to see how much it'd cost to get one of these to hang out in my apartment. Surely they can't be that expensive...