Apple employees only get a 30% discount which more than likely represents all profit made. Thats still OVER $2.1 million spent...
These machines are not being sold as one time computers for profit. They are considered internal assets that they will get at cost. It is not costing them anywhere near what you think they cost. It is not as if the retail team goes to an apple and whips out a credit card. This is an internal business expense that they just get from existing inventory and re-use.