Extreme particle acceleration in microquasars jets and pulsar wind nebulae with the MAGIC telescopes