You are right, in the case of Facebook in Tunisia - providers could inject the code which store user's cookie and MAC-address. My idea is useless. :-(
There is no way the server would know the mac address of the client unless the browser stores and shares that information. This is not how currently implemented networking protocols work.