Even if apple is losing money on these devices, they shouldn't care. Low cost laptops are the main reason why people buy Windows laptops instead of Macs. They need to get people into the Mac ecosystem.
iPhone’s are more expensive than this laptop anyways and Apple could upsell all the docks and accessories with sky high margins. It’s a mystery why they haven’t done this already.