Apple and Amazon sales up despite rising prices

The companies are closely watched for signs of how people are spending as the economy slows.