IBM makes it very easy to get the model number and the serial number of an AIX system or a VIOS on thier Power Series:

You don’t even need to be root to run the commands.

More useful AIX commands.