Of course Microsoft and Apple support H.264. They both stand to benefit:
http://www.mpegla.com/main/programs/AVC/Pages/Licensors.aspx
http://www.mpegla.com/main/programs/AVC/Pages/Licensors.aspx
In other words, I doubt either company is directly making a profit on h.264 licensing payments.