Surface 3 Vs Macbook Air

I’m a little confused.
A 12-inch Surface Pro 3 with 512GB of storage and an Intel i7 core costs $1,949.00 (shit, no wonder they aren’t competing against iPads). If you want a keyboard—which Microsoft insists you need to make the most of the device—the price is $2079.00:

A 13-inch MacBook Air with a dual i7 core, 4GB of RAM and 512GB of Flash Storage costs $1,649.00:

So, to be clear, Microsoft is marketing a device to replace your laptop that costs more than a better-performing Macbook Air, but it costs more and doesn’t include a keyboard.
What was that about Apple products costing a premium over their Windows rivals?
Keep up the great work, Microsoft.