This is true. It's been proven to have happened in multiple court cases.
They can basically insert another "end" for the end to end encryption without any of the parties knowing.
You basically should never trust Apple / Google / Microsoft / Amazon / etc to handle your private information... ever. Use audited open-source messaging apps.