If you like baking then a food mixer is probably better. And I'd recommend Kenwood over KitchenAid. You can get various attachments for Kenwood that will allow you to blend and, in small, quantities chop and blitz.
If you want to do general food prep, chopping, blitzing etc then I'd recommend a food processor. You can make cakes, pastry and whip cream egg whites but the whipping function isn't as good as it cannot draw in as much air as a mixer. Magimix is without doubt the best, it's also on the pricier end of the scale but it will last a very long time.