A key measure of U.S. inflation climbed to its highest level in three years in April, raising new concerns about consumer costs and interest rates.