Why did APPLE Buy These Companies?

Why did APPLE Buy These Companies?