Those horsepower readings are all at the flywheel, the difference is the engines which could be down to a lot of things, off the top of my head for an N/A car - state of tune, compression ratio, efficiency of the exhaust + intake, efficiency of the engine as a whole, aggresiveness of the cams, any variable vale timing/other technologies, how high peak rpm is since horsepower is simply a function of torque and rpm (as was the case with those last two - similar torque at 4100 but the toyota revs 400 more) etc.
If you put a FWD and AWD car on a dyno assuming both cars have identical flywheel horsepower the FWD car will have more horsepower at the wheels. FWD is simply a more efficient drive train, the motor is closer to the wheels being driven in comparison to RWD and in comparison to AWD there are less moving parts, less complexity as well as the point mentioned before about rwd vs fwd.
But on the road an AWD car will be more easily able to make use of it's horsepower at the wheels (i.e. put it to the ground). That is more pronounced with big horsepower RWD vs AWD cars though, ofcourse an AWD car will launch better than a FWD car but the average FWD car won't spin its wheels if you floor it suddenly like in a higher HP rwd car.
I actually have no idea if a CVT transmission is less efficient than a traditional auto or manual, but i'm pretty they would be. Once again those figures are at the flywheel and don't take into account transmission and drivetrain losses.