The U.S. economy shrank in the first three months of 2022, after years of growth, according to a new report.